Files
bobatheme/hugo.yaml
T
bbaovanc 2f6db565a9 WIP: Add redirects in Netlify _redirects style using old guide
Uses this guide: https://honnef.co/articles/generating-netlify-_redirects-from-hugo/

I didn't realize until after doing all this that there's a guide for the
same thing in the official Hugo docs, so I'm about to migrate over to
that.
2026-07-08 01:51:20 -05:00

54 lines
822 B
YAML

markup:
highlight:
noClasses: false
lineNos: true
goldmark:
parser:
attribute:
block: true
# this is enabled by default already
#title: true
params:
readingtime: true
taxonomies:
category: categories
tag: tags
author: authors
series: series
outputs:
page:
- html
home:
- html
- rss
- REDIR
outputFormats:
# https://honnef.co/articles/generating-netlify-_redirects-from-hugo/
REDIR:
mediaType: text/caddy
baseName: _redirects
isPlainText: true
notAlternative: true
mediaTypes:
# https://honnef.co/articles/generating-netlify-_redirects-from-hugo/
text/caddy:
delimeter: ""
privacy:
googleAnalytics:
disable: true
x:
enableDNT: true
vimeo:
enableDNT: true
youtube:
privacyEnhanced: true