mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-12 09:47:29 -05:00
Clean up closing brackets on templates
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
<a
|
||||
href="{{ .Destination | safeURL }}"
|
||||
{{ with .Title}}title="{{ . }}"{{ end }}
|
||||
{{ with .Title }}title="{{ . }}"{{ end }}
|
||||
{{ if strings.HasPrefix .Destination "http" }}target="_blank" rel="noopener"{{ end }}
|
||||
>
|
||||
{{- .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 }}
|
||||
|
Reference in New Issue
Block a user