Commit 8fee7202 authored by Ludovic Courtès's avatar Ludovic Courtès

Move "/about.html" to "/about/index.html".

* guix-hpc.scm (base-layout): Adjust link to "/about".
(static-pages): Build "about/index.html" instead of "about.html".
* nginx-locations.conf (location): Add 301 redirect.
parent c1097936
......@@ -68,7 +68,7 @@
(div (@ (id "menubar")
(class "width-control"))
(ul
(li (a (@ (href ,(base-url "/about.html")))
(li (a (@ (href ,(base-url "/about")))
"About"))
(li (a (@ (href ,(base-url "/blog")))
"Blog"))
......@@ -120,5 +120,5 @@ representation."
(make-page html (read-markdown-page md)
sxml->html))
(list (markdown-page "about.html" "about.md")
(list (markdown-page "about/index.html" "about.md")
(markdown-page "index.html" "getting-started.md")))
......@@ -11,6 +11,9 @@ location /.well-known {
location = /guix-hpc-debut.html {
return 301 /blog/2017/09/guix-hpc-debut;
}
location = /about.html {
return 301 /about;
}
location = /feed.xml {
return 301 /blog/feed.xml;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment