Implement the checking of the Release parameter!
This commit is contained in:
@@ -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