Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

website: Adapt to hugo v0.27.1

Nick Craig-Woodb1e85c7cebdd
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"}}
+ <main id="main">
+ <div>
+ <h1 id="title"><a href="{{ "/" | relURL }}">Go Home</a></h1>
+ </div>
+ </main>
+{{ 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>{{ .Title }}</title>
<link rel="canonical" href="{{ .Permalink }}">
{{ template "chrome/header.includes.html" . }}
- {{ if .RSSlink }}<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />{{ end }}
+ {{ if .RSSLink }}<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />{{ end }}
</head>