Clean up closing brackets on templates

This commit is contained in:
BBaoVanC 2021-11-20 18:30:26 -06:00
parent 7a0757cef7
commit 919ecde4ac
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
5 changed files with 8 additions and 8 deletions

View File

@ -5,4 +5,4 @@
> >
{{- .Text | safeHTML -}} {{- .Text | safeHTML -}}
</a> </a>
{{- print "" -}} {{- /* This comment gets rid of the trailing newline. */ -}}

View File

@ -1,7 +1,7 @@
{{ partial "credit.html" }} {{ partial "credit.html" }}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ .Language.Lang }}"> <html lang="{{ .Language.Lang }}">
{{- partial "head.html" . -}} {{ partial "head.html" . }}
<body> <body>
<div class="top"> <div class="top">
@ -13,9 +13,9 @@
{{ end }} {{ end }}
<div class="content"> <div class="content">
{{- block "main" . }} {{ block "main" . }}
{{ .Content }} {{ .Content }}
{{- end }} {{ end }}
</div> </div>
{{ with .Site.Copyright }} {{ with .Site.Copyright }}

View File

@ -23,7 +23,7 @@
{{ if .Site.IsMultiLingual }} {{ if .Site.IsMultiLingual }}
<details class="langpicker"> <details class="langpicker">
<summary> <summary>
{{ partial "icon.html" "world" -}} {{- partial "icon.html" "world" -}}
</summary> </summary>
<ul class="languages"> <ul class="languages">
{{ range .AllTranslations }} {{ range .AllTranslations }}