From 884a84982cca72ca27462787d1726d8b5f4107de Mon Sep 17 00:00:00 2001 From: Igor Baiborodine Date: Mon, 28 Aug 2023 08:56:23 -0400 Subject: [PATCH] fix(v4): adjust generated theme.css for loading demo site icons (#579) --- .github/workflows/update-demo-page.yml | 4 ++-- v4/exampleSite/config.toml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-demo-page.yml b/.github/workflows/update-demo-page.yml index 8fc87e43e..d63d2913f 100644 --- a/.github/workflows/update-demo-page.yml +++ b/.github/workflows/update-demo-page.yml @@ -58,8 +58,8 @@ jobs: run: | rm -rf themes/bilberry-hugo-theme hugo && > public/.nojekyll - sed -i "s~webfonts~bilberry-hugo-theme/webfonts~g" public/theme.min.*.css - sed -i "s~/fonts~/bilberry-hugo-theme/fonts~g" public/theme.min.*.css + sed -i "s~webfonts~bilberry-hugo-theme/webfonts~g" public/theme.css + sed -i "s~/fonts~/bilberry-hugo-theme/fonts~g" public/theme.css - name: Deploy to GitHub Pages if: success() diff --git a/v4/exampleSite/config.toml b/v4/exampleSite/config.toml index 952049bb5..2e75678c8 100644 --- a/v4/exampleSite/config.toml +++ b/v4/exampleSite/config.toml @@ -20,6 +20,9 @@ googleAnalytics = "" disqusShortname = "" [params] + # theme.css and theme.js will not be minified, and integrity will not be added + env = "DEV" + # Custom CSS/JS modules that will be imported by the template. # Files are relative to the static/ directory or a URL. # Files are imported in the order they appear here, after