mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 19:56:41 +02:00
layouts: access DateForm and DateFormFull param as string.
This fix the usage of this theme with Hugo 0.18-dev
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<li class="post-item">
|
||||
<span class="meta">{{ .Date.Format .Site.Params.DateForm }}</span>
|
||||
<span class="meta">{{ .Date.Format (.Site.Param "DateForm") }}</span>
|
||||
<a href="{{ .Permalink }}"><span>{{ .Title }}</span></a>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user