Skip to content

Commit

Permalink
fix: show the thumbnails all the time
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed May 2, 2024
1 parent b1ae91a commit b23a00e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layouts/partials/hb/modules/blog/post/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
{{- $meta := default true .Meta }}
{{- $pageMeta := default dict $page.Params.meta }}
{{- $modularize := default true .Modularize }}
{{- $thumbnail := default true site.Params.hb.blog.post_thumbnail }}
{{- $thumbnail := true }}
{{- $thumbnailPos := "top" }}
{{- if eq .Caller "list" }}
{{- $thumbnail = default true site.Params.hb.blog.post_thumbnail }}
{{- $thumbnailPos = site.Params.hb.blog.post_thumbnail_position }}
{{- end }}
<div
Expand Down

0 comments on commit b23a00e

Please sign in to comment.