From 36b374f8ab788521991dfccf0cd765120cb9d7df Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Sat, 8 Aug 2015 01:41:18 -0600 Subject: [PATCH] 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 ". --- docs/config.toml | 2 ++ docs/layouts/section/showcase.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/config.toml b/docs/config.toml index 313688a74..249f08bae 100644 --- 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" diff --git a/docs/layouts/section/showcase.html b/docs/layouts/section/showcase.html index 65ef64b6e..21446f5eb 100644 --- a/docs/layouts/section/showcase.html +++ b/docs/layouts/section/showcase.html @@ -1,6 +1,6 @@ {{ partial "header.html" . }} -

Hugo Built Sites (with source)

+

Hugo-built Sites (with source)

{{ range .Data.Pages.ByDate }} {{ .Render "thumbnail"}}