diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 14 |
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" }} </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> |