Implement the checking of the Release parameter!
This commit is contained in:
1 parent
6e6293eeb1
commit
d9ea07adf3
1 file changed
+4
@@ -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">
|
||||||
|
|||||||
Reference in new issue
Block a user