Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/shenoybr/hugo-goa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajesh Shenoy <shenoybr@users.noreply.github.com>2016-11-07 23:39:59 +0300
committerGitHub <noreply@github.com>2016-11-07 23:39:59 +0300
commitb0ef3c88687c6c3a475a1ffa48498568a9dfe4b2 (patch)
tree1d58a6ea5cce2f12042d2b312359577b525d3f50
parent3bab75b6da63a30076a2cb2f4ccd017de9b0d0bb (diff)
parentbabf0c9da6510dc76dfb1f7a31700034d06884ca (diff)
Merge pull request #5 from Sergobot/master
Fix layouts of lists and content
-rw-r--r--layouts/partials/content.html2
-rw-r--r--layouts/partials/li.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/content.html b/layouts/partials/content.html
index 4cb137b..313b911 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 32d91e7..41ecfad 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 }}