Skip to content

Commit

Permalink
fix: show the read more button when specifying description
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jul 7, 2024
1 parent 784041a commit 5b23c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/hb/modules/blog/post/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- $truncated := .Page.Truncated }}
{{- with .Page.Description }}
{{- $summary = . }}
{{- $truncated := true }}
{{- $truncated = true }}
{{- end }}
<div class="hb-blog-post-summary card-text text-secondary mb-auto">
{{- $summary -}}
Expand Down

0 comments on commit 5b23c75

Please sign in to comment.