From 9f9e449be8f1ccf4ea945c1f282665e68de9ab14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Mon, 16 Sep 2024 10:05:14 +0200 Subject: [PATCH] theme: remove whitespace from article #891 to avoid to be interpreted as indented code in some scenarios --- .../layouts/chapter-overview/views/article.html | 16 ++++++++-------- .../layouts/releasenotes/views/article.html | 16 ++++++++-------- layouts/_default/views/article.html | 16 ++++++++-------- layouts/chapter/views/article.html | 16 ++++++++-------- layouts/home/views/article.html | 16 ++++++++-------- layouts/partials/bodys/taxonomy.html | 12 ++++++------ layouts/partials/bodys/term.html | 12 ++++++------ 7 files changed, 52 insertions(+), 52 deletions(-) diff --git a/exampleSite/layouts/chapter-overview/views/article.html b/exampleSite/layouts/chapter-overview/views/article.html index 35fc6fd8c2..c47b4e7fe5 100644 --- a/exampleSite/layouts/chapter-overview/views/article.html +++ b/exampleSite/layouts/chapter-overview/views/article.html @@ -1,8 +1,8 @@ -
-
- {{- partial "content-header.html" . }} -
+
+
+ {{- partial "content-header.html" . }} +
{{ partial "heading-pre.html" . }}
{{ T "Chapter" .Params.Weight }}
{{ partial "heading.html" . }}{{ partial "heading-post.html" . }} @@ -13,7 +13,7 @@ "style" "h2" "description" "true" )}} -
- {{- partial "content-footer.html" . }} -
-
\ No newline at end of file +
+ {{- partial "content-footer.html" . }} +
+
\ No newline at end of file diff --git a/exampleSite/layouts/releasenotes/views/article.html b/exampleSite/layouts/releasenotes/views/article.html index d2319eda6e..a4a37cf792 100644 --- a/exampleSite/layouts/releasenotes/views/article.html +++ b/exampleSite/layouts/releasenotes/views/article.html @@ -1,8 +1,8 @@ -
-
- {{- partial "content-header.html" . }} -
+
+
+ {{- partial "content-header.html" . }} +
{{ partial "heading-pre.html" . }}{{ partial "heading.html" . }}{{ partial "heading-post.html" . }}

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 @@


{{ partial "article-content.html" . }} -
- {{- partial "content-footer.html" . }} -
-
\ No newline at end of file +
+ {{- partial "content-footer.html" . }} +
+
\ No newline at end of file diff --git a/layouts/_default/views/article.html b/layouts/_default/views/article.html index f79eab05f1..5930053080 100644 --- a/layouts/_default/views/article.html +++ b/layouts/_default/views/article.html @@ -1,12 +1,12 @@ -
-
- {{- partial "content-header.html" . }} -
+
+
+ {{- partial "content-header.html" . }} +
{{ partial "heading-pre.html" . }}{{ partial "heading.html" . }}{{ partial "heading-post.html" . }} {{ partial "article-content.html" . }} -
- {{- partial "content-footer.html" . }} -
-
\ No newline at end of file +
+ {{- partial "content-footer.html" . }} +
+
\ No newline at end of file diff --git a/layouts/chapter/views/article.html b/layouts/chapter/views/article.html index 951b88baf1..3730070266 100644 --- a/layouts/chapter/views/article.html +++ b/layouts/chapter/views/article.html @@ -1,13 +1,13 @@ -
-
- {{- partial "content-header.html" . }} -
+
+
+ {{- partial "content-header.html" . }} +
{{ partial "heading-pre.html" . }}
{{ T "Chapter" .Params.Weight }}
{{ partial "heading.html" . }}{{ partial "heading-post.html" . }} {{ partial "article-content.html" . }} -
- {{- partial "content-footer.html" . }} -
-
\ No newline at end of file +
+ {{- partial "content-footer.html" . }} +
+
\ No newline at end of file diff --git a/layouts/home/views/article.html b/layouts/home/views/article.html index f0c977bed6..ed96dcf850 100644 --- a/layouts/home/views/article.html +++ b/layouts/home/views/article.html @@ -1,12 +1,12 @@ -
-
- {{- partial "content-header.html" . }} -
+
+
+ {{- partial "content-header.html" . }} +
{{ partial "heading-pre.html" . }}{{ partial "heading.html" . }}{{ partial "heading-post.html" . }} {{ partial "article-content.html" . }} -
- {{- partial "content-footer.html" . }} -
-
\ No newline at end of file +
+ {{- partial "content-footer.html" . }} +
+
\ No newline at end of file diff --git a/layouts/partials/bodys/taxonomy.html b/layouts/partials/bodys/taxonomy.html index 8a61c23f14..14595fefcc 100644 --- a/layouts/partials/bodys/taxonomy.html +++ b/layouts/partials/bodys/taxonomy.html @@ -1,7 +1,7 @@ -
-
-
+
+
+
{{- $title := partial "title.gotmpl" (dict "page" .) }}

{{ $title }}

@@ -25,6 +25,6 @@ {{- end }} -
-
-
\ No newline at end of file +
+
+
\ No newline at end of file diff --git a/layouts/partials/bodys/term.html b/layouts/partials/bodys/term.html index 8ab36ebf95..7a80b7cc92 100644 --- a/layouts/partials/bodys/term.html +++ b/layouts/partials/bodys/term.html @@ -1,7 +1,7 @@ -
-
-
+
+
+
{{- $title := partial "title.gotmpl" (dict "page" .) }}

{{ $title }}

@@ -29,6 +29,6 @@ {{- end }} -
-
-
\ No newline at end of file + +
\ No newline at end of file