Skip to content

Commit

Permalink
udpate settings
Browse files Browse the repository at this point in the history
  • Loading branch information
xanhacks committed Mar 7, 2024
1 parent 1b07fef commit d22132c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/_default/hugo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title = "OffensiveWeb"
baseurl = "https://www.offensiveweb.com"
canonifyURLs = false
canonifyURLs = true
disableAliases = true
disableHugoGeneratorInject = true
# disableKinds = ["taxonomy", "term"]
Expand Down
1 change: 1 addition & 0 deletions config/production/hugo.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Overrides for production environment
canonifyURLs = false
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint:styles": "stylelint --cache \"assets/scss/**/*.{css,sass,scss}\"",
"lint:markdown": "markdownlint-cli2 \"*.md\" \"content/**/*.md\"",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "exec-bin node_modules/.bin/hugo/hugo --minify",
"build": "exec-bin node_modules/.bin/hugo/hugo --gc --minify",
"preview": "http-server --gzip --brotli --ext=html --cors",
"clean": "npm run clean:build && npm run clean:lint && npm run clean:install",
"clean:build": "shx rm -rf public resources .hugo_build.lock",
Expand Down

0 comments on commit d22132c

Please sign in to comment.