diff options
author | Rajesh Shenoy <shenoybr@users.noreply.github.com> | 2016-11-08 00:22:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-08 00:22:49 +0300 |
commit | cb47f8cfac5dc776d506de53b295be6e29643513 (patch) | |
tree | b07de8425297824582d0eb0d3358405ecf09a1db | |
parent | b0ef3c88687c6c3a475a1ffa48498568a9dfe4b2 (diff) |
Revert "Fix layouts of lists and content"
-rw-r--r-- | layouts/partials/content.html | 2 | ||||
-rw-r--r-- | layouts/partials/li.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/content.html b/layouts/partials/content.html index 313b911..4cb137b 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -5,7 +5,7 @@ {{ if ne .Params.showpagemeta false }} <div class="col-md-12"> <h6 class="text-left meta"> - PUBLISHED ON {{ .Date.Format ".Site.Params.dateFormat" | upper }} + PUBLISHED ON {{ .Date.Format .Site.Params.dateFormat | upper }} {{ $total := len .Params.categories }} {{ if gt $total 0 }} — diff --git a/layouts/partials/li.html b/layouts/partials/li.html index 41ecfad..32d91e7 100644 --- a/layouts/partials/li.html +++ b/layouts/partials/li.html @@ -4,7 +4,7 @@ <li class="list-entry"> <a class="list-entry-link" href="{{ .Permalink }}">{{ .Title }}</a> <p class="meta"> - {{ .Date.Format ".Site.Params.dateFormat" | upper }} + {{ .Date.Format .Site.Params.dateFormat | upper }} <span class="category"> {{ $total := len .Params.categories }} {{ if gt $total 0 }} |