From b1e85c7cebdd909a200453f446e3cd52eb1dc283 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 19 Sep 2017 12:26:06 +0100 Subject: [PATCH] website: Adapt to hugo v0.27.1 --- docs/config.json | 5 ++++- docs/i18n/en.toml | 5 +++++ docs/layouts/404.html | 7 +++++++ docs/layouts/chrome/header.html | 2 +- 4 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 docs/i18n/en.toml create mode 100644 docs/layouts/404.html diff --git a/docs/config.json b/docs/config.json index 946f7f0d6..72b9b8c3a 100644 --- a/docs/config.json +++ b/docs/config.json @@ -11,5 +11,8 @@ "blackfriday": { "smartDashes": false, "plainIDAnchors": true - } + }, + "disableKinds": [ + "taxonomy", "taxonomyTerm" + ] } diff --git a/docs/i18n/en.toml b/docs/i18n/en.toml new file mode 100644 index 000000000..b5910c6e2 --- /dev/null +++ b/docs/i18n/en.toml @@ -0,0 +1,5 @@ +# Dummy translation file to make errors go away +# See: https://discourse.gohugo.io/t/monolingual-site/6300 + +[wordCount] +other = "{{ .WordCount }} words" diff --git a/docs/layouts/404.html b/docs/layouts/404.html new file mode 100644 index 000000000..65387aa4e --- /dev/null +++ b/docs/layouts/404.html @@ -0,0 +1,7 @@ +{{ define "main"}} +
+
+

Go Home

+
+
+{{ end }} diff --git a/docs/layouts/chrome/header.html b/docs/layouts/chrome/header.html index ec54c49cf..d9bfa108a 100644 --- a/docs/layouts/chrome/header.html +++ b/docs/layouts/chrome/header.html @@ -5,5 +5,5 @@ {{ .Title }} {{ template "chrome/header.includes.html" . }} - {{ if .RSSlink }}{{ end }} + {{ if .RSSLink }}{{ end }}