mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2026-08-02 03:47:16 -05:00
WIP: finished implementation of Netlify _redirects
TBD will be caddy, not sure whether this is actually a good idea because including a Caddy file directly from GitHub Actions accessible job output might be a config injection risk.
This commit is contained in:
@@ -24,19 +24,19 @@ outputs:
|
|||||||
home:
|
home:
|
||||||
- html
|
- html
|
||||||
- rss
|
- rss
|
||||||
- REDIR
|
- redirects
|
||||||
|
|
||||||
outputFormats:
|
outputFormats:
|
||||||
# https://honnef.co/articles/generating-netlify-_redirects-from-hugo/
|
# https://honnef.co/articles/generating-netlify-_redirects-from-hugo/
|
||||||
REDIR:
|
redirects:
|
||||||
mediaType: text/caddy
|
|
||||||
baseName: _redirects
|
baseName: _redirects
|
||||||
isPlainText: true
|
isPlainText: true
|
||||||
notAlternative: true
|
mediaType: text/redirects
|
||||||
|
root: true
|
||||||
|
|
||||||
mediaTypes:
|
mediaTypes:
|
||||||
# https://honnef.co/articles/generating-netlify-_redirects-from-hugo/
|
# https://honnef.co/articles/generating-netlify-_redirects-from-hugo/
|
||||||
text/caddy:
|
text/redirects:
|
||||||
delimeter: ""
|
delimeter: ""
|
||||||
|
|
||||||
privacy:
|
privacy:
|
||||||
|
|||||||
Reference in New Issue
Block a user