shithub: hugo

Download patch

ref: 36b374f8ab788521991dfccf0cd765120cb9d7df
parent: b14b90435a6eed8b505ec9bfae2e9bef3235f444
author: Anthony Fok <[email protected]>
date: Fri Aug 7 21:41:18 EDT 2015

docs: Add site title; set pluralizeListTitles = false

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 ".

--- a/docs/config.toml
+++ b/docs/config.toml
@@ -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"
--- a/docs/layouts/section/showcase.html
+++ b/docs/layouts/section/showcase.html
@@ -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"}}