mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-22 23:37:53 +00:00
theme: remove whitespace from article #891
to avoid to be interpreted as indented code in some scenarios
This commit is contained in:
parent
5356b3b15a
commit
9f9e449be8
7 changed files with 52 additions and 52 deletions
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
Loading…
Reference in a new issue