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

github.com/jeblister/kube.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamed <jeblister@gmail.com>2022-05-09 14:48:56 +0300
committerGitHub <noreply@github.com>2022-05-09 14:48:56 +0300
commita00af402d938cea56939c4933df6653387214503 (patch)
treed9be86ba3ea3a079dc2fc457283997a026115f7a
parent5368880f0dfc7a0ed2a9539d37a638b8aa48ab01 (diff)
parent4f3219b2da563e7423035bd1c3a769484ac008f3 (diff)
Merge pull request #40 from umlaeute/hugo94
hugo-0.94 compat changes
-rw-r--r--layouts/_default/baseof.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 38bd8de..3f7ec06 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -2,7 +2,7 @@
<html lang="{{ .Site.LanguageCode }}">
<head>
- {{ .Hugo.Generator }}
+ {{ hugo.Generator }}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -25,8 +25,7 @@
{{ if .IsHome }} {{ partial "site-verification" . }} {{ end }}
<!-- add googleAnalytics in config.toml -->
{{ template "_internal/google_analytics_async.html" . }}
- {{ if .RSSLink }}
- <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> {{ end }}
+ {{ with .OutputFormats.Get "RSS" }} <link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ site.Title }}" /> {{ end }}
<link rel="canonical" href="{{ .Permalink }}"> {{ if (isset .Params "prev") }}
<link rel="prev" href="{{ .Params.prev }}"> {{ end }} {{ if (isset .Params "next") }}