Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/h-enk/doks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.redirects')
-rw-r--r--layouts/index.redirects6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/index.redirects b/layouts/index.redirects
new file mode 100644
index 0000000..4323285
--- /dev/null
+++ b/layouts/index.redirects
@@ -0,0 +1,6 @@
+# redirects for Netlify - https://www.netlify.com/docs/redirects/
+{{- range $p := .Site.Pages -}}
+{{- range .Aliases }}
+{{ . }} {{ $p.RelPermalink -}}
+{{- end }}
+{{- end -}} \ No newline at end of file