Chore: optimize .Resources variable acquisition in function resources.html

This commit is contained in:
Cell
2023-12-30 23:59:07 +08:00
parent de5fd0c3f7
commit e482fbe36a
12 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -142,7 +142,7 @@
{{- end -}}
{{- with $image -}}
<div class="featured-image">
{{- dict "Src" . "Title" $.Description "Resources" $.Resources | partial "plugin/image.html" -}}
{{- dict "Src" . "Title" $.Description | partial "plugin/image.html" -}}
</div>
{{- end -}}