mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-02-17 09:18:38 +01:00
fix(article): related contents is showing hidden post
This commit is contained in:
parent
be416830ad
commit
a3f1d84c51
1 changed files with 4 additions and 2 deletions
|
@ -5,9 +5,11 @@
|
|||
<div class="related-contents">
|
||||
<div class="flex article-list--tile">
|
||||
{{ range . }}
|
||||
{{ partial "article-list/tile" (dict "context" . "size" "250x150" "Type" "articleList") }}
|
||||
{{ if not .Params.hidden }}
|
||||
{{ partial "article-list/tile" (dict "context" . "size" "250x150" "Type" "articleList") }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</aside>
|
||||
</aside>
|
||||
|
|
Loading…
Add table
Reference in a new issue