mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
Clean up closing brackets on templates
This commit is contained in:
parent
7a0757cef7
commit
919ecde4ac
@ -5,4 +5,4 @@
|
||||
>
|
||||
{{- .Text | safeHTML -}}
|
||||
</a>
|
||||
{{- print "" -}}
|
||||
{{- /* This comment gets rid of the trailing newline. */ -}}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{{ partial "credit.html" }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Language.Lang }}">
|
||||
{{- partial "head.html" . -}}
|
||||
{{ partial "head.html" . }}
|
||||
|
||||
<body>
|
||||
<div class="top">
|
||||
@ -13,9 +13,9 @@
|
||||
{{ end }}
|
||||
|
||||
<div class="content">
|
||||
{{- block "main" . }}
|
||||
{{ block "main" . }}
|
||||
{{ .Content }}
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ with .Site.Copyright }}
|
||||
|
@ -23,7 +23,7 @@
|
||||
{{ if .Site.IsMultiLingual }}
|
||||
<details class="langpicker">
|
||||
<summary>
|
||||
{{ partial "icon.html" "world" -}}
|
||||
{{- partial "icon.html" "world" -}}
|
||||
</summary>
|
||||
<ul class="languages">
|
||||
{{ range .AllTranslations }}
|
||||
|
Loading…
Reference in New Issue
Block a user