Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f1f9d2a

Browse files
Adds dynamically-generated redirect_from.csv to root for nginx consumption
1 parent cd1b0c1 commit f1f9d2a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

redirect_from.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: null
3+
---
4+
{% for page in site.pages %}{% for redirect in page.redirect_from %}{{ redirect }},{{ page.url }}
5+
{% endfor %}{% endfor %}

0 commit comments

Comments
 (0)