commit 2023758861295dc6e2c8831092115fdf462da0f7
parent 1397707bf89d701cefb2cc8283d3076711e0570a
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sun, 1 Dec 2019 16:53:51 -0500
Remove a new line that cannot be auto removed by html minimizers
Diffstat:
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/README.org b/README.org
@@ -15,12 +15,12 @@ What is retained though is support for multilingual page contents. The result is
34 ./layouts/partials/css/style.css
1 ./layouts/partials/footer.html
0 ./layouts/partials/head_custom.html
- 16 ./layouts/partials/nav.html
+ 15 ./layouts/partials/nav.html
7 ./layouts/partials/head.html
4 ./layouts/_default/single.html
14 ./layouts/_default/list.html
11 ./layouts/_default/baseof.html
- 93 total
+ 92 total
#+END_EXAMPLE
** Customization
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
@@ -4,8 +4,7 @@
| <a href="{{ .URL | relURL }}">{{ .Name }}</a>
{{- end -}}
{{- if .IsTranslated -}}
- <span style="float:right;">
- [
+ <span style="float:right;">[
{{- range $i, $page := .Translations -}}
{{- if (ge $i 1) }} | {{ end -}}
<a href="{{ $page.Permalink | relURL }}">{{ $page.Language.LanguageName }}</a>