Skip to content

Commit

Permalink
fix: broken styles on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Apr 23, 2024
1 parent 2bef119 commit 6ee1fd8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions layouts/partials/hb/modules/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{{- end }}
{{- $featuredPages := first $featuredCount (where $pages ".Params.featured" true) }}
{{- if $featuredPages }}
<div class="row">
<div class="row mb-3">
{{- $pinnedPages := first 1 (where $pages ".Params.pinned" true) }}
{{- $hasPinned := and (ne $pinnedPos "list") (gt (len $pinnedPages) 0) }}
<div class="col-12{{ cond $hasPinned ` col-lg-6` `` }} hb-blog-home-carousel">
Expand All @@ -26,7 +26,9 @@
<div class="hb-blog-main-container">
<div class="hb-blog-main">
{{- if default true site.Params.hb.blog.home.taxonomies }}
{{ partialCached "hb/modules/blog/home/taxonomies" . }}
<div>
{{ partialCached "hb/modules/blog/home/taxonomies" . }}
</div>
{{- end }}
{{- with .Paginator }}
{{- $cols := partialCached "hb/modules/blog/functions/list-cols" . }}
Expand Down

0 comments on commit 6ee1fd8

Please sign in to comment.