mirror of
https://github.com/rclone/rclone.git
synced 2024-11-28 03:09:48 +08:00
website: Adapt to hugo v0.27.1
This commit is contained in:
parent
1d994f7330
commit
b1e85c7ceb
|
@ -11,5 +11,8 @@
|
||||||
"blackfriday": {
|
"blackfriday": {
|
||||||
"smartDashes": false,
|
"smartDashes": false,
|
||||||
"plainIDAnchors": true
|
"plainIDAnchors": true
|
||||||
}
|
},
|
||||||
|
"disableKinds": [
|
||||||
|
"taxonomy", "taxonomyTerm"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
5
docs/i18n/en.toml
Normal file
5
docs/i18n/en.toml
Normal 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
7
docs/layouts/404.html
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{{ define "main"}}
|
||||||
|
<main id="main">
|
||||||
|
<div>
|
||||||
|
<h1 id="title"><a href="{{ "/" | relURL }}">Go Home</a></h1>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
{{ end }}
|
|
@ -5,5 +5,5 @@
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
<link rel="canonical" href="{{ .Permalink }}">
|
<link rel="canonical" href="{{ .Permalink }}">
|
||||||
{{ template "chrome/header.includes.html" . }}
|
{{ 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>
|
</head>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user