Update archives.html
This commit is contained in:
1 parent
1df2c1be63
commit
3d8d402dd2
1 file changed
+2
-1
@@ -4,7 +4,8 @@
|
||||
{{ $currentYear := 0 }}
|
||||
{{ $currentMonth := 0 }}
|
||||
{{ range .Site.RegularPages }}
|
||||
{{ if and (eq .Type "post") (ne .Params.status "hidden") }}
|
||||
<!-- {{ if and (eq .Type "post") (ne .Params.status "hidden") }} -->
|
||||
{{ if and (eq .Type "post") }}
|
||||
{{ $year := .Date.Year }}
|
||||
{{ $month := .Date.Month }}
|
||||
{{ if ne $year $currentYear }}
|
||||
|
||||
Reference in new issue
Block a user