feat: add partialCached to helper/image invocation
Using .RelPermalink as key for cache
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{ $image := partial "helper/image" (dict "Context" .) }}
|
||||
{{ $image := partialCached "helper/image" (dict "Context" .) .RelPermalink }}
|
||||
{{ $context := . }}
|
||||
<div class="article-details">
|
||||
{{ with $categories := .Params.categories }}
|
||||
|
||||
Reference in New Issue
Block a user