Skip to content

Commit

Permalink
style: show the description of post if set
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jul 13, 2023
1 parent 74f783a commit 700b8a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layouts/partials/hb/modules/blog/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ <h1 class="hb-blog-post-title mb-2">{{ .Title }}</h1>
{{ partialCached "hb/modules/blog/post/meta/reading-time" . . }}
{{ partialCached "hb/modules/blog/post/meta/taxonomies" . . }}
</div>
{{- with .Description }}
<div class="hb-blog-post-desc lead mb-2">{{ . }}</div>
{{- end }}
</div>
<div
class="hb-blog-post-toc mt-2 text-body-secondary position-sticky overflow-y-auto">
Expand Down

0 comments on commit 700b8a5

Please sign in to comment.