layouts: restore compatibility with Hugo < 0.18

This commit is contained in:
remeh
2016-11-09 21:06:20 +01:00
parent ff26d90c2b
commit f89eae3668
8 changed files with 49 additions and 49 deletions

View File

@@ -1,4 +1,4 @@
<li class="post-item">
<span class="meta">{{ .Date.Format (.Site.Param "DateForm") }}</span>
<span class="meta">{{ .Date.Format .Site.Params.dateform }}</span>
<a href="{{ .Permalink }}"><span>{{ .Title }}</span></a>
</li>