mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-30 16:58:00 +00:00
Update site configuration and templates
This commit is contained in:
parent
2490c5a484
commit
9a14f72653
@ -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$" ]
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
[foo-dogsquared]
|
||||
[author.foo-dogsquared]
|
||||
name = "Gabriel Arazas"
|
||||
alias = "foo-dogsquared"
|
||||
email = "foodogsquared@foodogsquared.one"
|
@ -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"
|
||||
|
@ -3,7 +3,7 @@
|
||||
<p><a href="#top">{{ T "back_to_top" | default "Back to top" }}</a></p>
|
||||
|
||||
<!-- Linking to other languages' homepage. -->
|
||||
{{ if $.Site.IsMultiLingual }}
|
||||
{{ if hugo.IsMultilingual }}
|
||||
<p>{{ T "multilingual" }}:
|
||||
<span class="list site__languages">
|
||||
{{ range $.Site.Languages }}
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user