Update Hugo site configuration

This commit is contained in:
Gabriel Arazas 2023-02-24 22:39:11 +08:00
parent 6f611c85a7
commit b437631f0e
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -3,73 +3,64 @@ languageCode = "en-us"
title = "Gabriel Arazas" title = "Gabriel Arazas"
enableGitInfo = true enableGitInfo = true
paginate = 40 paginate = 40
copyright = """ copyright = "© foodogsquared"
© foodogsquared
"""
canonifyURLs = true canonifyURLs = true
summaryLength = 0 summaryLength = 0
[[module.imports]]
path = "github.com/foo-dogsquared/hugo-theme-more-contentful"
[module] [[module.imports]]
[[module.imports]] path = "github.com/foo-dogsquared/hugo-mod-web-feeds"
path = "github.com/foo-dogsquared/hugo-theme-more-contentful"
[[module.imports]] [markup.asciidocExt.attributes]
path = "github.com/foo-dogsquared/hugo-web-feeds" 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] [mediaTypes."application/atom+xml"]
[markup.asciidocExt] suffixes = ["atom"]
[markup.asciidocExt.attributes]
toc = true
sectanchors = true
"figure-caption!" = true
[mediaTypes."application/rss+xml"]
suffixes = ["rss"]
[author] [outputFormats.RSS]
[author.foo-dogsquared] mediaType = "application/rss+xml"
name = "Gabriel Arazas" baseName = "index"
alias = "foo-dogsquared" isPlainText = false
email = "foo.dogsquared@gmail.com"
[mediaTypes] [outputFormats.Atom]
[mediaTypes."application/atom+xml"] mediaType = "application/atom+xml"
suffixes = ["atom"] baseName = "index"
isPlainText = false
[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
[outputs] [outputs]
home = ["HTML", "ATOM", "RSS", "JSON"] home = ["HTML", "ATOM", "RSS", "JSON"]
section = ["HTML", "ATOM", "RSS", "JSON"] section = ["HTML", "ATOM", "RSS", "JSON"]
[menu] [menu]
[[menu.main]] [[menu.main]]
identifier = "about" identifier = "about"
name = "About me" name = "About"
url = "about/" url = "about/"
[[menu.main]]
identifier = "contact"
name = "Contact"
url = "contact/"
[[menu.main]] [[menu.main]]
identifier = "posts" identifier = "posts"
name = "Posts" name = "Posts"
url = "posts/" url = "posts/"
[[menu.main]]
identifier = "archives"
name = "Archives"
url = "archives/"
[[menu.links]] [[menu.links]]
identifer = "posts" identifer = "posts"
name = "Posts" name = "Posts"
@ -91,14 +82,15 @@ summaryLength = 0
url = "https://www.youtube.com/channel/UCuMiU9bzATu5oTp-vhOlL2Q" url = "https://www.youtube.com/channel/UCuMiU9bzATu5oTp-vhOlL2Q"
[params] [params]
mainSections = ["posts", "projects"] mainSections = ["posts", "projects"]
toc = true toc = true
extraNotes = """ 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. 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/). For analytics, it uses [GoatCounter](https://goatcounter.com/).
""" """
[security.exec] [security.exec]
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^asciidoctor$'] allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^asciidoctor$']
[security.funcs] [security.funcs]
getenv = [ "^LAST_COMMIT_DATE$" ] getenv = [ "^LAST_COMMIT_DATE$" ]