Merge pull request #1 from hugo-toha/main
Fix recent-posts.html to not display search card (#687)
This commit is contained in:
commit
767661d525
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
|||
{{ end }}
|
||||
<div class="container">
|
||||
<div class="row" id="recent-post-cards">
|
||||
{{ range first $numShow (where site.RegularPages.ByDate.Reverse "Type" "in" "posts" )}}
|
||||
{{ range first $numShow (where (where site.RegularPages.ByDate.Reverse "Type" "posts" ) "Layout" "!=" "search") }}
|
||||
{{ partial "cards/recent-post.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue