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