docs/site: update Hugo configuration

This commit is contained in:
Gabriel Arazas 2023-07-09 11:58:22 +08:00
parent 70cee0c7f3
commit a23f99f5ae
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
3 changed files with 26 additions and 13 deletions

View File

@ -1,6 +1,6 @@
baseURL = 'https://foo-dogsquared.github.io/nixos-config'
defaultContentLanguage = 'en-US'
title = "foo-dogsquared's NixOS config book"
title = "foodogsquared's NixOS config"
timeZone = "UTC"
[params]

View File

@ -18,14 +18,16 @@ cache-uri = true
reproducible = true
stem = "latexmath"
avatarsdir = "/icons/avatars"
avatarstype = "avif"
avatarsdir = "/nixos-config/icons/avatars"
avatarstype = "svg"
icons = "image"
iconsdir = "/icons/asciidoctor"
iconsdir = "/nixos-config/icons/asciidoctor"
icontype = "svg"
# Project-wide attributes to be used.
github-repo = "foo-dogsquared/nixos-config"
check-variable = "_isInsideFds"
canonical-flake-url = "github:foo-dogsquared/nixos-config"
canonical-source-repo = "https://github.com/foo-dogsquared/nixos-config"
canonical-flake-url-tarball-master = "https://github.com/foo-dogsquared/nixos-config/archive/master.tar.gz"

View File

@ -3,14 +3,25 @@ path = "github.com/foo-dogsquared/hugo-theme-more-contentful"
[[imports]]
path = "github.com/foo-dogsquared/website"
[[imports.mounts]]
source = "assets/svg/avatars"
target = "assets/svg/avatars"
ignoreConfig = true
ignoreImports = true
[[imports.mounts]]
source = "assets/scss/"
target = "assets/scss/"
[[imports.mounts]]
source = "assets/svg/avatars/"
target = "static/icons/avatars/"
[[imports.mounts]]
source = "assets/css/"
target = "assets/css/"
[[imports.mounts]]
source = "assets/scss/"
target = "assets/scss/"
[[imports.mounts]]
source = "assets/css/"
target = "assets/css/"
[[imports.mounts]]
source = "layouts/partials/"
target = "layouts/partials/"
[[imports.mounts]]
source = "data/more-contentful/themes/"
target = "data/more-contentful/themes/"