Adds layout for the About page

This commit is contained in:
Huy Tran 2018-06-26 10:19:35 +10:00
parent 69f17c15b5
commit 92ecccca9a
2 changed files with 14 additions and 0 deletions

10
layouts/about/single.html Normal file
View file

@ -0,0 +1,10 @@
{{ define "header" -}}
{{ partial "header.html" . }}
{{- end -}}
{{ define "content" -}}
{{ partial "content_about.html" . }}
{{- end -}}
{{ define "footer" -}}
{{- end -}}

View file

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