fix for broken feature images

This commit is contained in:
John Bowdre 2022-04-25 12:15:47 -05:00
parent 2d02af2c7c
commit a28a12282f

View file

@ -23,7 +23,11 @@
<i>{{- T "old_content_note" -}}</i> <i>{{- T "old_content_note" -}}</i>
</div> </div>
{{- end -}} {{- end -}}
{{- partial "image-feature" . }} {{- if .Params.featureImage -}}
<div class="post_featured">
{{- partial "image" (dict "file" .Params.featureImage "type" "featured") }}
</div>
{{- end -}}
{{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) ($s.toc) }} {{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) ($s.toc) }}
<div class="post_toc"> <div class="post_toc">
<div class="wrap-collapsible"> <div class="wrap-collapsible">