diff --git a/config/_default/config.toml b/config/_default/config.toml index 772f892..7a6abf3 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -1,9 +1,8 @@ baseURL = "https://www.foodogsquared.one" -title = "Gabriel Arazas" +title = "foodogsquared" languageCode = "en" enableGitInfo = true -paginate = 40 -copyright = "© foodogsquared" +copyright = "© Gabriel Arazas" summaryLength = 0 timeZone = "UTC" @@ -15,6 +14,9 @@ This site uses [medium-zoom](https://github.com/francoischalifour/medium-zoom) a For analytics, it uses [GoatCounter](https://goatcounter.com/). """ +[pagination] +pagerSize = 40 + [taxonomies] tag = "tags" series = "series" @@ -46,7 +48,7 @@ home = ["HTML", "ATOM", "RSS", "JSON"] section = ["HTML", "ATOM", "RSS", "JSON"] [security.exec] -allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^asciidoctor$'] +allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^asciidoctor$', '^git$'] [security.funcs] getenv = [ "^LAST_COMMIT_DATE$" ] diff --git a/config/_default/markup.toml b/config/_default/markup.toml index 834dcc7..e731aae 100644 --- a/config/_default/markup.toml +++ b/config/_default/markup.toml @@ -20,7 +20,7 @@ reproducible = true stem = "latexmath" avatarsdir = "/icons/avatars" -avatarstype = "webp" +"avatarstype" = "webp" icons = "image" iconsdir = "/icons/asciidoctor" @@ -30,6 +30,3 @@ icontype = "svg" bibtex-file = "./assets/bibliography.bib" bibtex-order = "alphabetical" bibtex-throw = true - -# asciidoctor-tabs -tabs-sync-option = true diff --git a/config/_default/author.toml b/config/_default/params.toml similarity index 79% rename from config/_default/author.toml rename to config/_default/params.toml index f060760..2e79750 100644 --- a/config/_default/author.toml +++ b/config/_default/params.toml @@ -1,4 +1,4 @@ -[foo-dogsquared] +[author.foo-dogsquared] name = "Gabriel Arazas" alias = "foo-dogsquared" email = "foodogsquared@foodogsquared.one" diff --git a/data/more-contentful/contacts.toml b/data/more-contentful/contacts.toml index 424601c..e527630 100644 --- a/data/more-contentful/contacts.toml +++ b/data/more-contentful/contacts.toml @@ -1,15 +1,5 @@ useImage = true -[[links]] -id = "twitter" -url = "https://twitter.com/foo_dogsquared" -name = "Twitter" - -[[links]] -id = "mastodon" -url = "https://fosstodon.org/@foodogsquared" -name = "Fosstodon" - [[links]] id = "github" url = "https://github.com/foo-dogsquared/" @@ -20,11 +10,6 @@ id = "gitlab" url = "https://gitlab.com/foo-dogsquared/" name = "GitLab" -[[links]] -id = "keybase" -url = "https://keybase.io/foo_dogsquared" -name = "Keybase" - [[links]] id = "rss" url = "index.atom" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 6e822f4..3cb0097 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,7 +3,7 @@
{{ T "back_to_top" | default "Back to top" }}
-{{ if $.Site.IsMultiLingual }} +{{ if hugo.IsMultilingual }}{{ T "multilingual" }}: {{ range $.Site.Languages }} diff --git a/layouts/partials/head_extended.html b/layouts/partials/head_extended.html index 53eb0dd..c9bb59a 100644 --- a/layouts/partials/head_extended.html +++ b/layouts/partials/head_extended.html @@ -1,5 +1,5 @@ {{- /* Here's where the customized version should be. */ -}} -{{ $highlighter := resources.Get "css/rouge.scss" | resources.ToCSS }} +{{ $highlighter := resources.Get "css/rouge.scss" | toCSS }} {{- if hugo.IsProduction }} {{ $highlighter = $highlighter | resources.Minify | resources.Fingerprint }} {{ end }}