summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html7
-rw-r--r--layouts/posts/single.html5
2 files changed, 2 insertions, 10 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index e7798602..7f33f13b 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,15 +1,10 @@
{{ define "main" }}
{{ partial "header.html" . }}
- <article
- class="page {{ .Site.Language.LanguageName }}"
- id="article"
- >
- <!-- Content -->
+ <article class="page" id="article">
<div id="post-content" class="post-content markdown-body"
style="view-transition-name: post-content-{{ .File.UniqueID }}">
{{ .Content }}
</div>
-
</article>
{{ partial "footer.html" . }}
{{ end }}
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 3fe80a84..0fe65678 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -1,9 +1,6 @@
{{ define "main" }}
{{ partial "components/post-page-header.html" . }}
- <article
- class="post {{ .Site.Language.LanguageName }}"
- id="article"
- >
+ <article class="post" id="article">
<!-- Post Header -->
<header
style="view-transition-name: post-{{ .File.UniqueID }}"