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

github.com/dataCobra/hugo-vitae.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.html12
1 files changed, 5 insertions, 7 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 5f0e03e..b2d6300 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -6,13 +6,6 @@
<img src="{{ index .Params.images 0 | relURL }}" {{ if isset .Params "imagetext" }}alt="{{ .Params.imagetext }}"{{ end }}>
</div>
{{- end }}
-<div class="author">
-{{- if eq .Site.Params.listAuthor true}}
-{{- if isset .Params "author" }}
-<p>{{ if isset .Params "authorlink" }}{{ i18n "authorpretext" }} <a href="{{ relURL .Params.authorlink }}" target="_blank" rel="noopener noreferrer">{{ .Params.author }}</a>{{- else }}{{ i18n "authorpretext" }} {{ .Params.author }}{{ end }}</p>
-{{- end }}
-{{- end }}
-</div>
<div class="post-header">
{{- if ne .Date.Year 1 }}
<div class="meta">
@@ -26,6 +19,11 @@
{{- end }}
<div class="matter">
<h1 class="title">{{ .Title }}</h1>
+{{- if not .Params.hidemeta }}
+<p class="post-meta">
+{{ partial "post_meta.html" . }}
+</p>
+{{- end }}
</div>
</div>
<div class="markdown">