mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
feat: check that Chroma theme exists
Also renames global Chroma theme variables to: site.Params.features.syntax_highlighter.theme_light site.Params.features.syntax_highlighter.theme_dark
This commit is contained in:
parent
98932fcf96
commit
50de7bd87e
5 changed files with 47 additions and 35 deletions
|
@ -2,5 +2,5 @@
|
|||
|
||||
HUGOxPARAMSxCMSxLOCAL_BACKEND=true \
|
||||
HUGO_MODULE_REPLACEMENTS="github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 -> ../../../wowchemy,github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 -> ../../../wowchemy-cms" \
|
||||
hugo server --renderStaticToDisk -F --port 80 --bind 0.0.0.0 \
|
||||
hugo server --panicOnWarning --renderStaticToDisk -F --port 80 --bind 0.0.0.0 \
|
||||
--source "starters/$1"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
HUGOxPARAMSxCMSxLOCAL_BACKEND=true \
|
||||
hugo server --renderStaticToDisk -F --port 80 --bind 0.0.0.0 \
|
||||
hugo server --panicOnWarning --renderStaticToDisk -F --port 80 --bind 0.0.0.0 \
|
||||
--source "starters/$1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue