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

github.com/mismith0227/hugo_theme_pickles.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rwxr-xr-xlayouts/_default/single.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 1a53fc9..6456e63 100755
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -4,9 +4,11 @@
<header>
<h1>{{ .Title }}</h1>
<div>
- <div class="c-time">
- {{ partial "timestamp.html" . }}
- </div>
+ {{ if not .Params.hideDate }}
+ <div class="c-time">
+ {{ partial "timestamp.html" . }}
+ </div>
+ {{ end }}
{{ range .Params.tags }}
<a href="{{ $baseurl }}/tags/{{ . | urlize }}" class="c-tag">{{ . }}</a>
{{ end }}