[gimp-web-devel/pat/bootstrap] theme: fix indents
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web-devel/pat/bootstrap] theme: fix indents
- Date: Sun, 11 Sep 2022 16:36:52 +0000 (UTC)
commit 3873d53a95ecb71e2519ff6f33d3c9b7399970ba
Author: Pat David <patdavid gmail com>
Date: Sun Sep 11 11:36:31 2022 -0500
theme: fix indents
layouts/_default/single.html | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 5114f9a..b4591b3 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -4,23 +4,23 @@
<div class="page row justify-content-center">
<article class="{{ .Title | urlize }}-page col-lg-8">
- <h1 class="title">
- {{ .Title | markdownify }}
- </h1>
+ <h1 class="title">
+ {{ .Title | markdownify }}
+ </h1>
- {{ .Content }}
+ {{ .Content }}
- {{ if .IsTranslated }}
- <h4>{{ i18n "translations" }}</h4>
- <ul>
- {{ range .Translations }}
- <li><a href="{{ .Permalink }}">
- {{ .Lang }}: {{ .Title }}{{ if .IsPage }}{{ end }}
- </a></li>
- {{ end }}
- </ul>
- {{ end }}
- </article>
+ {{ if .IsTranslated }}
+ <h4>{{ i18n "translations" }}</h4>
+ <ul>
+ {{ range .Translations }}
+ <li><a href="{{ .Permalink }}">
+ {{ .Lang }}: {{ .Title }}{{ if .IsPage }}{{ end }}
+ </a></li>
+ {{ end }}
+ </ul>
+ {{ end }}
+ </article>
</div>
{{ end }}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]