Merges template for About
This commit is contained in:
parent
f4f85e0e09
commit
6b929ff8e0
2 changed files with 8 additions and 9 deletions
|
@ -1,10 +1,13 @@
|
|||
{{ define "header" -}}
|
||||
{{ partial "header.html" . }}
|
||||
{{- define "header" -}}
|
||||
{{- partial "header.html" . -}}
|
||||
{{- end -}}
|
||||
|
||||
{{ define "content" -}}
|
||||
{{ partial "content_about.html" . }}
|
||||
{{- define "content" -}}
|
||||
<div class="post">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
||||
{{ define "footer" -}}
|
||||
{{- define "footer" -}}
|
||||
{{- end -}}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
<div class="post">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
</div>
|
Loading…
Reference in a new issue