minimal template introducing

This commit is contained in:
Henrique Dias
2015-09-14 14:54:58 +01:00
parent 0bf1182c91
commit 4d07761bd5
5 changed files with 10 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
{{ template "header" . }}
{{ define "content" }}
{{ with .Body }}
<div class="content">
@@ -9,4 +9,4 @@
</div>
{{ end }}
{{ template "footer" . }}
{{ end }}