diff --git a/layouts/partials/li_card.html b/layouts/partials/li_card.html index 513a5fe3..caa0fe6d 100644 --- a/layouts/partials/li_card.html +++ b/layouts/partials/li_card.html @@ -51,7 +51,7 @@ {{ end }} {{ else }} - {{ partial "page_metadata" (dict "content" $item "is_list" 1) }} + {{ partial "page_metadata" (dict "page" $item "is_list" 1) }} {{ end }} {{ $resource := ($item.Resources.ByType "image").GetMatch "*featured*" }} @@ -75,7 +75,7 @@ {{ if $show_buttons }}
{{ partial "page_links" (dict "content" . "is_list" 1) }}
+{{ partial "page_links" (dict "page" . "is_list" 1) }}
{{/* MLA Style */}} {{ else }} @@ -29,7 +29,7 @@ {{- .Params.publication | markdownify -}}, {{ end }} {{- .Date.Format "2006" -}}. -{{ partial "page_links" (dict "content" . "is_list" 1) }}
+{{ partial "page_links" (dict "page" . "is_list" 1) }}
{{ end }} diff --git a/layouts/partials/li_compact.html b/layouts/partials/li_compact.html index 89d58cb5..242b5f4e 100644 --- a/layouts/partials/li_compact.html +++ b/layouts/partials/li_compact.html @@ -66,13 +66,13 @@ {{ partial "page_metadata_authors" $item }} {{ else if not $show_authors_only }} - {{ partial "page_metadata" (dict "content" $item "is_list" 1) }} + {{ partial "page_metadata" (dict "page" $item "is_list" 1) }} {{ end }} {{ if $show_buttons }}{{ . | markdownify | emojify }}
{{end}} - {{ partial "page_metadata" (dict "content" $page "is_list" 0) }} + {{ partial "page_metadata" (dict "page" $page "is_list" 0) }} {{ partial "page_links_div.html" $page }} @@ -70,7 +70,7 @@{{ . | markdownify | emojify }}
{{end}} - {{ partial "page_metadata" (dict "content" $page "is_list" 0 "share" true) }} + {{ partial "page_metadata" (dict "page" $page "is_list" 0 "share" true) }} {{ partial "page_links_div.html" $page }} {{else}} @@ -89,7 +89,7 @@ {{end}} {{ if not .IsNode }} - {{ partial "page_metadata" (dict "content" $page "is_list" 0 "share" true) }} + {{ partial "page_metadata" (dict "page" $page "is_list" 0 "share" true) }} {{ partial "page_links_div.html" $page }} {{end}} diff --git a/layouts/partials/project_li_showcase.html b/layouts/partials/project_li_showcase.html index 81b06189..0e884959 100644 --- a/layouts/partials/project_li_showcase.html +++ b/layouts/partials/project_li_showcase.html @@ -40,7 +40,7 @@ {{ end }}