docs: Add site title; set pluralizeListTitles = false - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 36b374f8ab788521991dfccf0cd765120cb9d7df
DIR parent b14b90435a6eed8b505ec9bfae2e9bef3235f444
HTML Author: Anthony Fok <foka@debian.org>
Date: Sat, 8 Aug 2015 01:41:18 -0600
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 ".
Diffstat:
M docs/config.toml | 2 ++
M docs/layouts/section/showcase.html | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
---
DIR diff --git 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"
DIR diff --git 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"}}