diff --git a/layouts/partials/paige/metadata.html b/layouts/partials/paige/metadata.html index cbedf9c1..8c1085d1 100644 --- a/layouts/partials/paige/metadata.html +++ b/layouts/partials/paige/metadata.html @@ -6,11 +6,11 @@ {{ $date := cond (eq ($page.Param "paige.date.source" | default "published") "published") $page.PublishDate $page.Lastmod }} {{ $dateformat := $page.Param "paige.date.format" | default ":date_long" }} {{ $description := $page.Description | markdownify }} +{{ $link := $page.Params.link }} {{ $readingtime := $page.ReadingTime }} {{ $series := $page.Params.series }} {{ $tags := $page.Params.tags | default slice | uniq }} {{ $title := $page.Title | markdownify }} -{{ $titlelink := $page.Params.link }} {{ if and ($page.Param "paige.git.commit_url_prefix") $page.GitInfo }} {{ $commiturl = print ($page.Param "paige.git.commit_url_prefix") $page.GitInfo.Hash }} @@ -18,7 +18,7 @@
{{ with $title }} -

{{ with $titlelink }}{{ . }}{{ else }}{{ . }}{{ end }}

+

{{ if $link }}{{ . }}{{ else }}{{ . }}{{ end }}

{{ end }} {{ with $description }}