diff --git a/themes/Ying/layouts/_default/archives.html b/themes/Ying/layouts/_default/archives.html index e8b45230..ad3d52ed 100644 --- a/themes/Ying/layouts/_default/archives.html +++ b/themes/Ying/layouts/_default/archives.html @@ -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") }} {{ $year := .Date.Year }} {{ $month := .Date.Month }} {{ if ne $year $currentYear }}