OSDN Git Service

* template/archive/index_header: fix to suppress warning message
authorhylom <hylom@users.sourceforge.jp>
Fri, 30 Jun 2017 10:57:27 +0000 (19:57 +0900)
committerhylom <hylom@users.sourceforge.jp>
Fri, 30 Jun 2017 10:57:27 +0000 (19:57 +0900)
src/newslash_web/templates/archive/index_header.html.tt2

index f81f54e..a9fd6ce 100644 (file)
@@ -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 %]
           <td class="[% classes.$dow %]">
             <a href="/[% ctype %]/[% yy %]/[% mm %]/[% dd %]/">[% day %]</a>
           </td>