Patch in more static files from web-files.

This commit is contained in:
Danila Fedorin 2023-12-30 22:54:10 +00:00
parent f704ceda8d
commit 1216263fd8

View File

@ -12,8 +12,11 @@ mkdir -p static && chmod -R u+w static
# static.danilafe.com. However, we can just bundle them here instead! # static.danilafe.com. However, we can just bundle them here instead!
echo '[params]' >> config-urls.toml echo '[params]' >> config-urls.toml
echo 'katexCssUrl = "/katex/katex.min.css"' >> config-urls.toml echo 'katexCssUrl = "/katex/katex.min.css"' >> config-urls.toml
echo 'normalizeCssUrl = "/normalize/normalize.css"' >> config-urls.toml
echo 'visNetworkJsUrl = "/vis-network/vis-network.min.js"' >> config-urls.toml
echo 'bergamotJsUrl = "/bergamot/bergamot.js"' >> config-urls.toml echo 'bergamotJsUrl = "/bergamot/bergamot.js"' >> config-urls.toml
echo 'katexExpressionJsUrl = "/katex-expression/katex-expression.esm.js"' >> config-urls.toml echo 'katexExpressionJsUrl = "/katex-expression/katex-expression.esm.js"' >> config-urls.toml
cp -r $webFiles/* static/ cp -r $webFiles/* static/
# Build site with Hugo # Build site with Hugo