diff --git a/layouts/partials/cover.html b/layouts/partials/cover.html deleted file mode 100644 index ea562ea..0000000 --- a/layouts/partials/cover.html +++ /dev/null @@ -1,24 +0,0 @@ -{{- $cover := false -}} -{{- $autoCover := default $.Site.Params.autoCover false }} - -{{- if index .Params "cover" -}} - {{- if .Resources.GetMatch .Params.Cover }} - {{- $cover = (.Resources.GetMatch .Params.Cover).RelPermalink -}} - {{- else -}} - {{- $cover = absURL .Params.Cover -}} - {{- end -}} -{{- else if $.Site.Params.AutoCover -}} - {{- if (not .Params.Cover) -}} - {{- if .Resources.GetMatch "cover.*" -}} - {{- $cover = (.Resources.GetMatch "cover.*").RelPermalink -}} - {{- end -}} - {{- end -}} -{{- end -}} - -{{if $cover -}} - - {{ .Title | plainify | default -{{- end }} diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index 81f7b6f..fcb950b 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -1,14 +1,14 @@ diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html index 2b3cf5c..8b28942 100644 --- a/layouts/partials/pagination.html +++ b/layouts/partials/pagination.html @@ -1,20 +1,20 @@ diff --git a/layouts/shortcodes/audio.html b/layouts/shortcodes/audio.html index ae050cd..de883f8 100644 --- a/layouts/shortcodes/audio.html +++ b/layouts/shortcodes/audio.html @@ -1,10 +1,3 @@ -