Skip to content

Commit

Permalink
feat: add the hb.blog.post_read_more parameter (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed May 10, 2024
1 parent b9ef508 commit 6019c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/hb/modules/blog/posts.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- $cols := default "row-cols-1 row-cols-lg-2 row-cols-xl-3" .Cols }}
{{- $readMore := default true .ReadMore }}
{{- $readMore := default (default true site.Params.hb.blog.post_read_more) .ReadMore }}
{{- $modularize := default true .Modularize }}
<div class="hb-blog-posts row {{ $cols }} g-3 mb-3">
{{ range .Pages }}
Expand Down

0 comments on commit 6019c64

Please sign in to comment.