From bd96cb3bb91c3219af5f38073bb718930a91e08d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Sat, 1 Oct 2022 00:07:55 +0100 Subject: [PATCH] fixed github action bug --- .github/workflows/pages.yml | 2 +- exampleSite/config/_default/config.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index b8124b93..57dc9762 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -49,7 +49,7 @@ jobs: HUGO_ENVIRONMENT: production HUGO_ENV: production run: | - hugo -s exampleSite --themesDir ../.. + hugo --minify -s exampleSite --themesDir ../.. --baseURL https://nunocoracao.github.io/blowfish/ - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml index 8f9c463b..eeb0ecd2 100644 --- a/exampleSite/config/_default/config.toml +++ b/exampleSite/config/_default/config.toml @@ -6,6 +6,8 @@ theme = "blowfish" baseURL = "https://nunocoracao.github.io/blowfish/" defaultContentLanguage = "en" +relativeURLs = true + enableRobotsTXT = true paginate = 20 summaryLength = 30