Skip to content

Commit

Permalink
Minor changes to configuration
Browse files Browse the repository at this point in the history
This updates the config for minifying results in the different environments.
  • Loading branch information
truemped committed Oct 25, 2024
1 parent 74e03db commit 93cc440
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Build
# remove --minify tag if you do not need it
# docs: https://gohugo.io/hugo-pipes/minification/
run: hugo --environment=live --minify
run: hugo --environment=live

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
Expand Down
4 changes: 4 additions & 0 deletions config/_default/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ enableRobotsTXT: true
buildDrafts: true
buildFuture: true
buildExpired: false

permalinks:
page:
/: /:year/:month/:slug
2 changes: 1 addition & 1 deletion config/_default/minify.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
disableXML: true
disableXML: false
minifyOutput: false
3 changes: 2 additions & 1 deletion config/live/minify.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
minifyOutput: false
disableXML: false
minifyOutput: true

0 comments on commit 93cc440

Please sign in to comment.