diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index e554218..391b242 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -19,7 +19,9 @@ jobs: # extended: true - name: Build - run: hugo --minify + run: hugo -b $BASE_URL --minify + env: + DOMAIN: ${{ vars.BASE_URL }} - name: "Publish" run: | diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 9a82103..98864b1 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -2,8 +2,7 @@ # Refer to the theme docs for more details about each of these parameters. # https://blowfish.page/docs/getting-started/ -theme = "blowfish" # UNCOMMENT THIS LINE -# baseURL = "https://your_domain.com/" +theme = "blowfish" # UNCOMMENT THIS LINE defaultContentLanguage = "de" # pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles diff --git a/hugo.toml b/hugo.toml deleted file mode 100644 index 7e568b8..0000000 --- a/hugo.toml +++ /dev/null @@ -1,3 +0,0 @@ -baseURL = 'https://example.org/' -languageCode = 'en-us' -title = 'My New Hugo Site'