Implement the checking of the Release parameter!

This commit is contained in:
2026-01-09 18:02:47 -07:00
parent 6e6293eeb1
commit d9ea07adf3

View File

@@ -23,6 +23,10 @@
{{ continue }} {{ continue }}
{{ end }} {{ end }}
{{ if and (.Params.release) (ge (time.AsTime .Params.release) (time now)) }}
{{ continue }}
{{ end }}
<li class="post-item"> <li class="post-item">
<a href="{{.Permalink}}" class="post-item-inner"> <a href="{{.Permalink}}" class="post-item-inner">
<span class="post-title"> <span class="post-title">