Commit 2129f189 authored by Ludovic Courtès's avatar Ludovic Courtès

Fix web page titles.

* haunt.scm (%hpc-haunt-theme) <#:layout>: Honor #:title.
Adjust title passed to 'render-collection'.
parent 29490435
......@@ -56,7 +56,9 @@
;; Theme for the rendering of the news pages.
(theme #:name "Guix-HPC"
#:layout (lambda (site title body)
(base-layout body #:title %web-site-title))
(base-layout body
#:title (string-append "Guix-HPC — "
title)))
#:post-template post->sxml
#:collection-template page->sxml))
......@@ -86,7 +88,8 @@
(make-page
"/blog/index.html"
(render-collection %hpc-haunt-theme site
%web-site-title
"Reproducible software \
deployment for high-performance computing — Blog" ;title
posts "/blog")
sxml->html))
......
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