diff --git a/.gitmodules b/.gitmodules index e84a7c7..416df99 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "themes/hugo-blog-awesome"] path = themes/hugo-blog-awesome url = https://github.com/hugo-sid/hugo-blog-awesome.git +[submodule "themes/hello-friend-ng"] + path = themes/hello-friend-ng + url = https://github.com/rhazdon/hugo-theme-hello-friend-ng.git diff --git a/content/posts/hello-world.md b/content/posts/hello-world.md index 5aa5218..33d1a1c 100644 --- a/content/posts/hello-world.md +++ b/content/posts/hello-world.md @@ -1,5 +1,5 @@ -+++ -title = 'Hello World' -date = 2024-01-19T10:59:41+01:00 -draft = false -+++ +--- +title: 'Hello World' +date: 2024-01-19T10:59:41+01:00 +draft: false +--- diff --git a/hugo.yaml b/hugo.yaml index 0f50d27..11742e0 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -1,50 +1,44 @@ baseURL: https://blog.bdubois.io languageCode: en-gb -title: Brieuc Dubois's blog -theme: hugo-blog-awesome +title: Brieuc Dubois +theme: hello-friend-ng relativeURLs: true uglyURLs: true enableEmoji: true enabeRobotsTXT: true params: - socialIcons: - - name: gitea - url: https://git.bhasher.com - - name: github - url: https://github.com/BhasherBEL - - name: matrix - url: https://matrix.to/#/@bhasher:bhasher.com - - name: rss - url: feed.xml - sitename: Brieuc Dubois - defaultColor: dark - description: - Blog of Brieuc Dubois about computer science, software engineering, - linux, devops, web developpement, cybersecurity. - rssFeedDescription: full - author: - avatar: img/profile.webp - intro: Brieuc Dubois - name: Brieuc Dubois - description: - Computer scientist student from Belgium passionate by programming - and learning new things such as DevOps, Go, Svelte or network security. + rssFullText: true + social: + - name: gitea + url: https://git.bhasher.com + - name: matrix + url: https://matrix.to/#/@bhasher:bhasher.com + - name: github + url: https://github.com/BhasherBEL + - name: rss + url: feed.xml + homeSubtitle: Student passionate about computer science, software engineering, free and open source, devops, web developpement, cybersecurity. + enableGlobalLanguageMenu: true outputs: home: - - HTML - - RSS + - html + - rss markup: highlight: noClasses: false menu: main: - - pageRef: / - name: Home - weight: 10 - - pageRef: posts - name: Posts - weight: 20 - - pageRef: about - name: About - weight: 30 - + - pageRef: / + name: Home + weight: 10 + - pageRef: posts + name: Posts + weight: 20 + - pageRef: tags + name: Tags + weight: 30 + - pageRef: about + name: About + weight: 40 +taxonomies: + tag: tags diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index 2d77bb6..0000000 --- a/layouts/partials/head.html +++ /dev/null @@ -1,311 +0,0 @@ - - {{- partial "meta/main.html" . }} - {{- hugo.Generator }} - - {{/* Canonical link, RSS */}} - - - {{- with .OutputFormats.Get "RSS" }} - - - {{- end }} - - {{- /* Styles */ -}} - - {{- $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS (dict "targetPath" "style.css") | minify | fingerprint }} - - {{- $code_syntax_highlight_css := resources.Get "code-highlight.css" | minify | fingerprint }} - - - {{/* Favicons */}} - - - - - - - {{- partial "webmanifest.html" . -}} - {{- partial "browserconfig.html" . -}} - - - - {{/* SVG favicon for the modern web */}} - - - - {{/* Katex support (enabled on specific pages). See 'helpers/katex.html' for more info. */}} - - {{- if or .Params.math .Site.Params.math }}{{ partial "helpers/katex.html" . -}}{{- end -}} - - {{/* Google analytics script. See config.toml to enable/disable this. */}} - {{- if hugo.IsProduction | or (eq site.Params.env "production") }} - {{ template "_internal/google_analytics.html" . }} - {{- end -}} - - diff --git a/themes/hello-friend-ng b/themes/hello-friend-ng new file mode 160000 index 0000000..51e697b --- /dev/null +++ b/themes/hello-friend-ng @@ -0,0 +1 @@ +Subproject commit 51e697bea7eb265c5b6bc532636bb4c707a84173