Skip to content

Commit

Permalink
fix: use the descriptions as summaries on list if set (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jul 13, 2023
1 parent a5ba66f commit e69c42e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/hb/modules/blog/post/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{{- end }}
{{- if $summary }}
<div class="hb-blog-post-summary card-text text-secondary">
{{- $page.Summary -}}
{{- default $page.Summary $page.Description -}}
</div>
{{- end }}
</div>
Expand Down

0 comments on commit e69c42e

Please sign in to comment.