1
mirror of https://github.com/rclone/rclone synced 2024-12-21 11:45:56 +01:00

website: Adapt to hugo v0.27.1

This commit is contained in:
Nick Craig-Wood 2017-09-19 12:26:06 +01:00
parent 1d994f7330
commit b1e85c7ceb
4 changed files with 17 additions and 2 deletions

View File

@ -11,5 +11,8 @@
"blackfriday": {
"smartDashes": false,
"plainIDAnchors": true
}
},
"disableKinds": [
"taxonomy", "taxonomyTerm"
]
}

5
docs/i18n/en.toml Normal file
View File

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

7
docs/layouts/404.html Normal file
View File

@ -0,0 +1,7 @@
{{ define "main"}}
<main id="main">
<div>
<h1 id="title"><a href="{{ "/" | relURL }}">Go Home</a></h1>
</div>
</main>
{{ end }}

View File

@ -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>