diff --git a/layouts/_default/single.html b/layouts/_default/single.html index edf53fb..4ae562e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -8,5 +8,5 @@ {{ partialCached "footer/footer" . }} - {{ partial "article/components/photoswipe" . }} + {{ partialCached "article/components/photoswipe" . }} {{ end }} \ No newline at end of file diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 0d0a35f..91021c4 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -9,7 +9,7 @@ {{ end }} - {{ $image := partial "helper/image" (dict "Context" . "Type" "taxonomy") }} + {{ $image := partialCached "helper/image" (dict "Context" . "Type" "taxonomy") .RelPermalink }} {{ if $image.exists }}