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

github.com/mdashx/basicwebtheme.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.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 02c9d70..f838367 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,8 +1,13 @@
{{ define "main" }}
-<h2>{{ .Title }}</h2>
+{{ with .Param "skipTitle" }}
+{{ else }}
+<h2>{{ $.Title }}</h2>
+{{ end }}
+{{ if .PublishDate }}
<em>{{ .PublishDate.Format "January 2, 2006" }}</em>
+{{ end }}
{{ .Content }}