From 796edc2ff70c68d09094901f7408e28e26d7ac00 Mon Sep 17 00:00:00 2001 From: hylom Date: Fri, 30 Jun 2017 19:57:27 +0900 Subject: [PATCH] * template/archive/index_header: fix to suppress warning message --- src/newslash_web/templates/archive/index_header.html.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newslash_web/templates/archive/index_header.html.tt2 b/src/newslash_web/templates/archive/index_header.html.tt2 index f81f54e3..a9fd6ce3 100644 --- a/src/newslash_web/templates/archive/index_header.html.tt2 +++ b/src/newslash_web/templates/archive/index_header.html.tt2 @@ -49,7 +49,7 @@ IF n_mm < 10; n_mm = "0" _ n_mm; END; [%- day = 1 -%] [%- WHILE day <= last_day -%] [%- IF day >= 10; dd = day; ELSE; dd = "0" _ day; END -%] - [% IF story_counts.$day > 0 %] + [% IF story_counts.$day %] [% day %] -- 2.11.0