mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2026-11-20 18:37:50 +01:00
lazy load cover images in lists only
This commit is contained in:
3 files changed
+8
-7
No files matched your search
@@ -22,7 +22,7 @@
|
||||
{{- end }}
|
||||
</header>
|
||||
{{- $isHidden := (.Param "cover.hiddenInSingle") | default (.Param "cover.hidden") | default false }}
|
||||
{{- partial "cover.html" (dict "cxt" . "IsHome" false "isHidden" $isHidden) }}
|
||||
{{- partial "cover.html" (dict "cxt" . "IsSingle" true "isHidden" $isHidden) }}
|
||||
{{- if (.Param "ShowToc") }}
|
||||
{{- partial "toc.html" . }}
|
||||
{{- end }}
|
||||
|
||||
Reference in new issue
Block a user