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

github.com/koirand/pulp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-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 4d1688f..a838639 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,9 +1,11 @@
{{ define "main"}}
<h1>{{ .Title }}</h1>
{{ partial "header.html" . }}
+ {{ if not .Date.IsZero }}
<!-- date -->
{{ $singlePageDateFormat := .Site.Params.singlePageDateFormat | default "January 2, 2006"}}
<p class="date">{{ .Date.Format $singlePageDateFormat }}</p>
+ {{ end }}
<!-- tags -->
{{ if .Param "tags" }}
<div id="tags">