We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a90a29 commit 6742a3eCopy full SHA for 6742a3e
.gitignore
@@ -1,4 +1,5 @@
1
__pycache__/
2
+public/
3
.cache/
4
.scrapy
5
.pynb_checkpoints
_redirects
@@ -0,0 +1,2 @@
+# Netlify URL rewrite for Hugo's baseURL
+/docs/* /:splat
netlify.toml
@@ -2,4 +2,4 @@
HUGO_VERSION = "0.37.1"
[context.deploy-preview]
-command = "hugo --buildDrafts --buildFuture --baseURL $DEPLOY_PRIME_URL"
+command = "hugo --buildDrafts --buildFuture --baseURL $DEPLOY_PRIME_URL && mv _redirects public/"
0 commit comments