mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2026-10-31 22:13:33 -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:
2 files changed
+5
-5
No files matched your search
@@ -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:
|
||||||
|
|||||||
File renamed without changes.
Reference in new issue
Block a user