From b437631f0ec2e9671305a0c0bf35bf808b3b82ed Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 24 Feb 2023 22:39:11 +0800 Subject: [PATCH] Update Hugo site configuration --- config.toml | 96 ++++++++++++++++++++++++----------------------------- 1 file changed, 44 insertions(+), 52 deletions(-) diff --git a/config.toml b/config.toml index 368480a..fcf4e11 100644 --- a/config.toml +++ b/config.toml @@ -3,73 +3,64 @@ languageCode = "en-us" title = "Gabriel Arazas" enableGitInfo = true paginate = 40 -copyright = """ -© foodogsquared -""" +copyright = "© foodogsquared" canonifyURLs = true summaryLength = 0 +[[module.imports]] +path = "github.com/foo-dogsquared/hugo-theme-more-contentful" -[module] - [[module.imports]] - path = "github.com/foo-dogsquared/hugo-theme-more-contentful" +[[module.imports]] +path = "github.com/foo-dogsquared/hugo-mod-web-feeds" - [[module.imports]] - path = "github.com/foo-dogsquared/hugo-web-feeds" +[markup.asciidocExt.attributes] +toc = true +sectanchors = true +"figure-caption!" = true +source-highlighter = "rouge" +workingFolderCurrent = true +[author.foo-dogsquared] +name = "Gabriel Arazas" +alias = "foo-dogsquared" +email = "foodogsquared@foodogsquared.one" -[markup] - [markup.asciidocExt] - [markup.asciidocExt.attributes] - toc = true - sectanchors = true - "figure-caption!" = true +[mediaTypes."application/atom+xml"] +suffixes = ["atom"] +[mediaTypes."application/rss+xml"] +suffixes = ["rss"] -[author] - [author.foo-dogsquared] - name = "Gabriel Arazas" - alias = "foo-dogsquared" - email = "foo.dogsquared@gmail.com" +[outputFormats.RSS] +mediaType = "application/rss+xml" +baseName = "index" +isPlainText = false -[mediaTypes] - [mediaTypes."application/atom+xml"] - suffixes = ["atom"] - - [mediaTypes."application/rss+xml"] - suffixes = ["rss"] - -[outputFormats] - [outputFormats.RSS] - mediaType = "application/rss+xml" - baseName = "index" - isPlainText = false - - [outputFormats.Atom] - mediaType = "application/atom+xml" - baseName = "index" - isPlainText = false +[outputFormats.Atom] +mediaType = "application/atom+xml" +baseName = "index" +isPlainText = false [outputs] - home = ["HTML", "ATOM", "RSS", "JSON"] - section = ["HTML", "ATOM", "RSS", "JSON"] +home = ["HTML", "ATOM", "RSS", "JSON"] +section = ["HTML", "ATOM", "RSS", "JSON"] [menu] [[menu.main]] identifier = "about" - name = "About me" + name = "About" url = "about/" + [[menu.main]] + identifier = "contact" + name = "Contact" + url = "contact/" + [[menu.main]] identifier = "posts" name = "Posts" url = "posts/" - [[menu.main]] - identifier = "archives" - name = "Archives" - url = "archives/" - [[menu.links]] identifer = "posts" name = "Posts" @@ -91,14 +82,15 @@ summaryLength = 0 url = "https://www.youtube.com/channel/UCuMiU9bzATu5oTp-vhOlL2Q" [params] - mainSections = ["posts", "projects"] - toc = true - extraNotes = """ - This site uses [Prism](https://prismjs.com/), [MathJax](https://www.mathjax.org/), [medium-zoom](https://github.com/francoischalifour/medium-zoom), and lots of modern CSS features for the life of me. - For analytics, it uses [GoatCounter](https://goatcounter.com/). - """ +mainSections = ["posts", "projects"] +toc = true +extraNotes = """ +This site uses [Prism](https://prismjs.com/), [MathJax](https://www.mathjax.org/), [medium-zoom](https://github.com/francoischalifour/medium-zoom), and lots of modern CSS features for the life of me. +For analytics, it uses [GoatCounter](https://goatcounter.com/). +""" + [security.exec] - allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^asciidoctor$'] +allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^asciidoctor$'] [security.funcs] - getenv = [ "^LAST_COMMIT_DATE$" ] +getenv = [ "^LAST_COMMIT_DATE$" ]