use raw (i.e. non-HTML) expanded variables
[homepage.git] / templates / archive_year.mdwn
index cd93ab8..245f14f 100644 (file)
@@ -1,3 +1,3 @@
-[[meta date="<TMPL_VAR year>-01-01"]]
-[[inline pages="blog/posts/<TMPL_VAR year>/*/* and !blog/posts/*/*/*/* and
+[[meta date="<TMPL_VAR raw_year>-01-01"]]
+[[inline pages="blog/posts/<TMPL_VAR raw_year>/*/* and !blog/posts/*/*/*/* and
 !link(tags/draft)" archive="yes"]]