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' baseURL = 'https://foo-dogsquared.github.io/nixos-config'
defaultContentLanguage = 'en-US' defaultContentLanguage = 'en-US'
title = "foo-dogsquared's NixOS config book" title = "foodogsquared's NixOS config"
timeZone = "UTC" timeZone = "UTC"
[params] [params]

View File

@ -18,14 +18,16 @@ cache-uri = true
reproducible = true reproducible = true
stem = "latexmath" stem = "latexmath"
avatarsdir = "/icons/avatars" avatarsdir = "/nixos-config/icons/avatars"
avatarstype = "avif" avatarstype = "svg"
icons = "image" icons = "image"
iconsdir = "/icons/asciidoctor" iconsdir = "/nixos-config/icons/asciidoctor"
icontype = "svg" icontype = "svg"
# Project-wide attributes to be used. # Project-wide attributes to be used.
github-repo = "foo-dogsquared/nixos-config"
check-variable = "_isInsideFds"
canonical-flake-url = "github:foo-dogsquared/nixos-config" canonical-flake-url = "github:foo-dogsquared/nixos-config"
canonical-source-repo = "https://github.com/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" 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]] [[imports]]
path = "github.com/foo-dogsquared/website" path = "github.com/foo-dogsquared/website"
[[imports.mounts]] ignoreConfig = true
source = "assets/svg/avatars" ignoreImports = true
target = "assets/svg/avatars"
[[imports.mounts]] [[imports.mounts]]
source = "assets/scss/" source = "assets/svg/avatars/"
target = "assets/scss/" target = "static/icons/avatars/"
[[imports.mounts]] [[imports.mounts]]
source = "assets/css/" source = "assets/scss/"
target = "assets/css/" 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/"