diff --git a/layouts/_default/index.html b/layouts/_default/index.html
index b971adf0..01f98b27 100644
--- a/layouts/_default/index.html
+++ b/layouts/_default/index.html
@@ -55,7 +55,7 @@
{{ if not .Params.showFullContent }}
{{ end }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 791efce5..c303cdd6 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -45,7 +45,7 @@
{{ if not .Params.showFullContent }}
{{ end }}
diff --git a/layouts/_default/term.html b/layouts/_default/term.html
index 2ed7a753..251a8736 100644
--- a/layouts/_default/term.html
+++ b/layouts/_default/term.html
@@ -46,7 +46,7 @@
{{ if not .Params.showFullContent }}
{{ end }}
diff --git a/layouts/partials/cover.html b/layouts/partials/cover.html
index ea562ead..dc5c291f 100644
--- a/layouts/partials/cover.html
+++ b/layouts/partials/cover.html
@@ -3,14 +3,14 @@
{{- if index .Params "cover" -}}
{{- if .Resources.GetMatch .Params.Cover }}
- {{- $cover = (.Resources.GetMatch .Params.Cover).RelPermalink -}}
+ {{- $cover = (.Resources.GetMatch .Params.Cover).PermaLink -}}
{{- else -}}
{{- $cover = absURL .Params.Cover -}}
{{- end -}}
{{- else if $.Site.Params.AutoCover -}}
{{- if (not .Params.Cover) -}}
{{- if .Resources.GetMatch "cover.*" -}}
- {{- $cover = (.Resources.GetMatch "cover.*").RelPermalink -}}
+ {{- $cover = (.Resources.GetMatch "cover.*").PermaLink -}}
{{- end -}}
{{- end -}}
{{- end -}}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 02ecd250..93f0d870 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -17,7 +17,7 @@
{{ $bundle := slice $menu $prism | resources.Concat "bundle.js" | resources.Minify }}
-
+
{{ partial "extended_footer.html" . }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index c77ac7a7..4cfcee75 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -50,7 +50,7 @@
{{ if (isset .Params "cover") }}
{{ $pageCover := .Param "cover" }}
{{ with (.Resources.GetMatch (.Param "cover")) }}
- {{ $pageCover = .RelPermalink }}
+ {{ $pageCover = .PermaLink }}
{{ end }}
{{ else }}
@@ -67,12 +67,12 @@
{{ with .OutputFormats.Get "RSS" }}
-
+
{{ end }}
{{ with .OutputFormats.Get "json" }}
-
+
{{ end }}