mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-02-17 09:18:38 +01:00
Merge branch 'master' into template-search
This commit is contained in:
commit
a81dac7bb0
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<aside class="related-contents--wrapper">
|
||||
{{ $related := .Site.RegularPages.Related . | first 5 }}
|
||||
{{ $related := (where (.Site.RegularPages.Related .) "Params.hidden" "!=" true) | first 5 }}
|
||||
{{ with $related }}
|
||||
<h2 class="section-title">{{ T "relatedContents" }}</h2>
|
||||
<div class="related-contents">
|
||||
|
@ -10,4 +10,4 @@
|
|||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</aside>
|
||||
</aside>
|
||||
|
|
Loading…
Add table
Reference in a new issue