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" -}} {{- define "header" -}}
{{ partial "header.html" . }} {{- partial "header.html" . -}}
{{- end -}} {{- end -}}
{{ define "content" -}} {{- define "content" -}}
{{ partial "content_about.html" . }} <div class="post">
<h1>{{ .Title }}</h1>
{{ .Content }}
</div>
{{- end -}} {{- end -}}
{{ define "footer" -}} {{- define "footer" -}}
{{- end -}} {{- end -}}

View file

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