From 097ccaffa6f8fdcdf1d8f441900853c22180027f Mon Sep 17 00:00:00 2001 From: nonumeros Date: Fri, 12 Apr 2019 03:03:49 -0400 Subject: [PATCH 1/2] .URL deprecated,and .RSSLink deprecated on v 0.55 --- layouts/partials/header.html | 12 ++++++------ layouts/partials/pagination.html | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index ff9c187..51967dc 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,7 +3,7 @@ - + {{ with .Site.Params.themecolor }} {{ end }} @@ -26,7 +26,7 @@ {{ end }} - {{ if ne .URL "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }} + {{ if ne .Permalink "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }} @@ -36,8 +36,8 @@ - {{ if eq .URL "/" }} - + {{ if eq .Permalink "/" }} + {{ end }} @@ -50,13 +50,13 @@

{{ .Site.Title }}

{{ end }} {{ partial "link.html" . }} - {{ if ne .URL "/" }} + {{ if ne .Permalink "/" }} {{ end }} - {{ with .RSSLink }} + {{ with .RelPermalink }} Newer Posts + Newer Posts {{end}} Page {{ .PageNumber }} of {{.TotalPages}} {{if .HasNext}} -Older Posts +Older Posts {{end}} From 9a0ed219648b98abe09d20f92dd682c0061083fc Mon Sep 17 00:00:00 2001 From: nonumeros Date: Wed, 17 Apr 2019 03:56:21 -0400 Subject: [PATCH 2/2] .RelPermalink for deprecated .RSSLink --- layouts/partials/header.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 51967dc..b57f1c7 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -36,8 +36,8 @@ - {{ if eq .Permalink "/" }} - + {{ if eq .RelPermalink "/" }} + {{ end }} @@ -56,8 +56,8 @@

{{ .Site.Title }}

 Home {{ end }} - {{ with .RelPermalink }} -