Skip to content

Commit 6c084b1

Browse files
authored
Merge pull request #340 from cloudfstrife/master
fix:warn when use 0.55.5
2 parents c7d2fde + f7df15a commit 6c084b1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

layouts/partials/head.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
<title>{{ with .Title }}{{ . }}{{ else }}{{ .Site.Title }}{{ end }}</title>
3030

3131
<link rel="icon" href="{{ with .Site.Params.favicon }}{{ . }}{{ else }}/favicon.png{{ end }}">
32-
{{ with .RSSLink }}
33-
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ . }}">
32+
{{ with .OutputFormats.Get "RSS" }}
33+
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ .RelPermalink }}">
3434
{{ end }}
3535

3636
{{ with .Site.Author.googleplus }}

layouts/partials/meta.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<meta charset="UTF-8">
22
<meta name="viewport" content="width=device-width, initial-scale=1">
33
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4-
<meta name="generator" content="Hugo {{ .Hugo.Version }} with theme Tranquilpeak 0.4.3-SNAPSHOT">
4+
<meta name="generator" content="Hugo {{ hugo.Version }} with theme Tranquilpeak 0.4.3-SNAPSHOT">
55
<meta name="author" content="{{ .Site.Author.name }}">
66
<meta name="keywords" content="{{ with .Keywords }}{{ delimit . ", " }}{{ end }}{{ if .Site.Params.keywords }}, {{ delimit .Site.Params.keywords ", " }}{{ end }}">
77
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else if .IsPage }}{{ .Summary }}{{ else }}{{ .Site.Params.description }}{{ end }}">

layouts/taxonomy/category.terms.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
{{ $.Scratch.Set $name $node }}
2424
{{ $.Scratch.SetInMap $level $path $node }}
2525
{{ end }}
26-
{{ $.Scratch.SetInMap (printf "%s" (delimit (first (add $index 1) $categories) "/")) $page.UniqueID $page }}
26+
{{ $.Scratch.SetInMap (printf "%s" (delimit (first (add $index 1) $categories) "/")) $page.File.UniqueID $page }}
2727
{{ $.Scratch.Set "parent" $path }}
2828
{{ end }}
2929
{{ $.Scratch.Set "parent" nil }}

0 commit comments

Comments
 (0)