theme: remove whitespace from article #891

to avoid to be interpreted as indented code in some scenarios
This commit is contained in:
Sören Weber 2024-09-16 10:05:14 +02:00
parent 5356b3b15a
commit 9f9e449be8
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
7 changed files with 52 additions and 52 deletions

View file

@ -1,8 +1,8 @@
<article class="chapter narrow">
<header class="headline">
{{- partial "content-header.html" . }}
</header>
<article class="chapter narrow">
<header class="headline">
{{- partial "content-header.html" . }}
</header>
{{ partial "heading-pre.html" . }}<div class="article-subheading">{{ T "Chapter" .Params.Weight }}</div>
{{ partial "heading.html" . }}{{ partial "heading-post.html" . }}
@ -13,7 +13,7 @@
"style" "h2"
"description" "true"
)}}
<footer class="footline">
{{- partial "content-footer.html" . }}
</footer>
</article>
<footer class="footline">
{{- partial "content-footer.html" . }}
</footer>
</article>

View file

@ -1,8 +1,8 @@
<article class="default">
<header class="headline">
{{- partial "content-header.html" . }}
</header>
<article class="default">
<header class="headline">
{{- partial "content-header.html" . }}
</header>
{{ partial "heading-pre.html" . }}{{ partial "heading.html" . }}{{ partial "heading-post.html" . }}
<p>This document shows you what's new in the release and flags it with one of the following badges. For a detailed list of changes, see the {{ partial "shortcodes/link.html" (dict
@ -40,7 +40,7 @@
<hr>
{{ partial "article-content.html" . }}
<footer class="footline">
{{- partial "content-footer.html" . }}
</footer>
</article>
<footer class="footline">
{{- partial "content-footer.html" . }}
</footer>
</article>

View file

@ -1,12 +1,12 @@
<article class="default">
<header class="headline">
{{- partial "content-header.html" . }}
</header>
<article class="default">
<header class="headline">
{{- partial "content-header.html" . }}
</header>
{{ partial "heading-pre.html" . }}{{ partial "heading.html" . }}{{ partial "heading-post.html" . }}
{{ partial "article-content.html" . }}
<footer class="footline">
{{- partial "content-footer.html" . }}
</footer>
</article>
<footer class="footline">
{{- partial "content-footer.html" . }}
</footer>
</article>

View file

@ -1,13 +1,13 @@
<article class="chapter narrow">
<header class="headline">
{{- partial "content-header.html" . }}
</header>
<article class="chapter narrow">
<header class="headline">
{{- partial "content-header.html" . }}
</header>
{{ partial "heading-pre.html" . }}<div class="article-subheading">{{ T "Chapter" .Params.Weight }}</div>
{{ partial "heading.html" . }}{{ partial "heading-post.html" . }}
{{ partial "article-content.html" . }}
<footer class="footline">
{{- partial "content-footer.html" . }}
</footer>
</article>
<footer class="footline">
{{- partial "content-footer.html" . }}
</footer>
</article>

View file

@ -1,12 +1,12 @@
<article class="home">
<header class="headline">
{{- partial "content-header.html" . }}
</header>
<article class="home">
<header class="headline">
{{- partial "content-header.html" . }}
</header>
{{ partial "heading-pre.html" . }}{{ partial "heading.html" . }}{{ partial "heading-post.html" . }}
{{ partial "article-content.html" . }}
<footer class="footline">
{{- partial "content-footer.html" . }}
</footer>
</article>
<footer class="footline">
{{- partial "content-footer.html" . }}
</footer>
</article>

View file

@ -1,7 +1,7 @@
<article>
<header class="headline">
</header>
<article>
<header class="headline">
</header>
{{- $title := partial "title.gotmpl" (dict "page" .) }}
<h1 id="{{ $title | plainify | anchorize }}">{{ $title }}</h1>
@ -25,6 +25,6 @@
</ul>
{{- end }}
<footer class="footline">
</footer>
</article>
<footer class="footline">
</footer>
</article>

View file

@ -1,7 +1,7 @@
<article>
<header class="headline">
</header>
<article>
<header class="headline">
</header>
{{- $title := partial "title.gotmpl" (dict "page" .) }}
<h1 id="{{ $title | plainify | anchorize }}">{{ $title }}</h1>
@ -29,6 +29,6 @@
</ul>
{{- end }}
<footer class="footline">
</footer>
</article>
<footer class="footline">
</footer>
</article>