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

github.com/AngeloStavrow/indigo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Stavrow <angelo@fogcreek.com>2018-10-01 19:13:53 +0300
committerAngelo Stavrow <angelo@fogcreek.com>2018-10-01 19:13:53 +0300
commit716e1cf22a3e8d71125037b6cfa2e7f7e14243b1 (patch)
tree72bf362b35d86e8c0d0a3ca47198074558a83cb3 /layouts
parentc7e91bf8cd68c7d021f92cb6e77829c6f82b8e6f (diff)
Remove date from menu entries
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 9e022e3..e1f47f9 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -7,11 +7,13 @@
<article class="h-entry">
<header>
<h1 class="post-title p-name">{{ .Title }}</h1>
+ {{ if not .Params.Menu }}
<p class="post-date">Posted on
<time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">
{{ .PublishDate.Format "2 January, 2006 at 15:04 MST" }}
</time> {{ if $author }} by <a href="{{ .Site.BaseURL }}" class="p-author h-card" rel="author">{{ $author }}</a>{{ end }}
</p>
+ {{ end }}
{{ if .Params.categories }}
<p class="post-tag">Category:
{{ range .Params.categories }}