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

github.com/EmielH/tale-hugo.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.html14
1 files changed, 1 insertions, 13 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 9134f96..1968456 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -2,19 +2,7 @@
<main>
<div class="post">
- <div class="post-info">
- <span>{{ i18n "writtenBy" }}</span>
- {{- if .Params.Author }}
- {{ .Params.Author }}
- {{- else }}
- {{ .Site.Params.Author }}
- {{- end }}
-
- {{- if .PublishDate }}
- <br>
- <span>{{ i18n "on" }}&nbsp;</span><time datetime="{{ .PublishDate }}">{{ i18n "publishdate" . }}</time>
- {{- end }}
- </div>
+ {{ partial "single-post-info.html" . }}
<h1 class="post-title">{{ .Title }}</h1>
<div class="post-line"></div>