Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ExchangeRate-API/strange-case.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Kaye <jordan.kaye2@gmail.com>2020-12-13 21:44:17 +0300
committerJordan Kaye <jordan.kaye2@gmail.com>2020-12-13 21:44:17 +0300
commit6458a0b33c6259dee654c0c7100859f81ecc5627 (patch)
tree148f0a176a09d7a4b9a28994a321513f4db80801 /layouts
parent26404ab591859b728b677f00b31e2d42f6775311 (diff)
Fix deprecation warnings and correct README
- Replace .Hugo and .RSSLink with their newer counterparts - sidebarDescription included in the README and example, but this parameter is not actually used.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 34377c7..e76b8ed 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
- {{ .Hugo.Generator }}
+ {{ hugo.Generator }}
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>{{ .Title }} - {{ .Site.Params.description }}</title>
@@ -24,6 +24,6 @@
{{ "<![endif]-->" | safeHTML }}
<!-- RSS -->
- <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
+ <link href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
</head>
-<body class="{{ .Site.Params.colorScheme }}"> \ No newline at end of file
+<body class="{{ .Site.Params.colorScheme }}">