feat: support hidden post
This commit is contained in:
parent
3f1d91875c
commit
b7b0699b3e
|
@ -8,6 +8,7 @@
|
||||||
</article>
|
</article>
|
||||||
<ul>
|
<ul>
|
||||||
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
|
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||||
|
{{- if not .Params.hidden }}
|
||||||
<li>
|
<li>
|
||||||
<div class="mb:16 py:24 f:fade-30 f:fade-10:hover transition:150ms;ease-in">
|
<div class="mb:16 py:24 f:fade-30 f:fade-10:hover transition:150ms;ease-in">
|
||||||
<a class="f:24 font:semibold" href="{{ .Permalink }}">
|
<a class="f:24 font:semibold" href="{{ .Permalink }}">
|
||||||
|
@ -17,6 +18,7 @@
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
Loading…
Reference in New Issue