docs: Add site title; set pluralizeListTitles = false
authorAnthony Fok <foka@debian.org>
Sat, 8 Aug 2015 07:41:18 +0000 (01:41 -0600)
committerAnthony Fok <foka@debian.org>
Sat, 8 Aug 2015 07:41:18 +0000 (01:41 -0600)
To prevent "Showcase" from becoming "Showcases",
also to have the RSS feed display correct titles,
i.e. "Showcase on gohugo.io" rather than "Showcase on ".

docs/config.toml
docs/layouts/section/showcase.html

index 313688a744990e2c3ff5af261b06513146dc556a..249f08bae9ae594bb4070b4f232107b64a0322a6 100644 (file)
@@ -1,5 +1,7 @@
+title = "gohugo.io"
 baseurl = "http://gohugo.io/"
 MetaDataFormat = "yaml"
+pluralizeListTitles = false
 
 [params]
   description = "Documentation of Hugo, a fast and flexible static site generator built with love by spf13 and friends in Go"
index 65ef64b6e6e56f0b0c487b5e421e49ae4ea14164..21446f5ebb6edba24f6d4c52ed61908238eb1e04 100644 (file)
@@ -1,6 +1,6 @@
 {{ partial "header.html" . }}
 
-   <h1 id="title">Hugo Built Sites (with source)</h1>
+   <h1 id="title">Hugo-built Sites (with source)</h1>
         <div class="row">
         {{ range .Data.Pages.ByDate }}
             {{ .Render "thumbnail"}}