diff options
author | Angelo Stavrow <angelo@fogcreek.com> | 2018-10-01 19:13:53 +0300 |
---|---|---|
committer | Angelo Stavrow <angelo@fogcreek.com> | 2018-10-01 19:13:53 +0300 |
commit | 716e1cf22a3e8d71125037b6cfa2e7f7e14243b1 (patch) | |
tree | 72bf362b35d86e8c0d0a3ca47198074558a83cb3 /layouts | |
parent | c7e91bf8cd68c7d021f92cb6e77829c6f82b8e6f (diff) |
Remove date from menu entries
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 2 |
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 }} |