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

View file

@ -1,8 +1,8 @@
<article class="default"> <article class="default">
<header class="headline"> <header class="headline">
{{- partial "content-header.html" . }} {{- partial "content-header.html" . }}
</header> </header>
{{ partial "heading-pre.html" . }}{{ partial "heading.html" . }}{{ partial "heading-post.html" . }} {{ 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 <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> <hr>
{{ partial "article-content.html" . }} {{ partial "article-content.html" . }}
<footer class="footline"> <footer class="footline">
{{- partial "content-footer.html" . }} {{- partial "content-footer.html" . }}
</footer> </footer>
</article> </article>

View file

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

View file

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

View file

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

View file

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

View file

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