removes all space consuming symbols in templates
This commit is contained in:
parent
c5ab13bf48
commit
90a8c7d5af
26 changed files with 126 additions and 126 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue