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:
authordataCobra <datacobra@thinkbot.de>2021-04-12 20:14:04 +0300
committerdataCobra <datacobra@thinkbot.de>2021-04-12 20:14:04 +0300
commit831f3de4c4e43c14f6ff21501662e14226ea694e (patch)
treea53588d3dd02b6db7cf9f86738e83648e5d25de6
parenta0e0e86602fb7fd2e0c88a3c345694a01e1d75de (diff)
Fix article tag position in single.html
-rw-r--r--layouts/_default/single.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index b46f398..5f0e03e 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,5 +1,6 @@
{{- define "main" }}
<div class="post">
+<article>
{{- if isset .Params "images" }}
<div class="post-image">
<img src="{{ index .Params.images 0 | relURL }}" {{ if isset .Params "imagetext" }}alt="{{ .Params.imagetext }}"{{ end }}>
@@ -23,7 +24,6 @@
{{- end }}
</div>
{{- end }}
-<article>
<div class="matter">
<h1 class="title">{{ .Title }}</h1>
</div>
@@ -31,7 +31,6 @@
<div class="markdown">
{{ .Content }}
</div>
-</article>
{{- if ne (in .Site.Params.disableTaxoTypes .Type) true }}
{{- $pagename := .Page.Title }}
{{- $notaxo := .Params.notaxonomy }}
@@ -76,5 +75,6 @@
{{- partial "comments.html" . }}
{{- end }}
{{- end }}
+</article>
</div>
{{- end }}