Merges template for About

This commit is contained in:
Huy Tran 2018-07-10 11:40:05 +10:00
parent f4f85e0e09
commit 6b929ff8e0
2 changed files with 8 additions and 9 deletions

View file

@ -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 -}}

View file

@ -1,4 +0,0 @@
<div class="post">
<h1>{{ .Title }}</h1>
{{ .Content }}
</div>