removes all space consuming symbols in templates

This commit is contained in:
Huy Tran 2018-07-30 07:41:49 +10:00
parent c5ab13bf48
commit 90a8c7d5af
26 changed files with 126 additions and 126 deletions

View file

@ -1,13 +1,13 @@
{{- define "header" -}}
{{- partial "header.html" . -}}
{{- end -}}
{{ define "header" }}
{{ partial "header.html" . }}
{{ end }}
{{- define "content" -}}
{{ define "content" }}
<div class="post">
<h1>{{ .Title }}</h1>
{{ .Content }}
</div>
{{- end -}}
{{ end }}
{{- define "footer" -}}
{{- end -}}
{{ define "footer" }}
{{ end }}