A load of work done.

This commit is contained in:
Greenscreener
2019-07-12 20:12:45 +02:00
parent 10fe1fab15
commit 62b578c49c
33 changed files with 306 additions and 10 deletions
+11 -5
View File
@@ -2,10 +2,16 @@
<html>
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
{{ block "body" . }}
{{- partial "header.html" . -}}
<div id="content">
<div class="section">
<div class="container">
{{- block "main" . }}{{- end }}
</div>
</div>
</div>
{{- partial "footer.html" . -}}
{{ end }}
</body>
</html>
+3
View File
@@ -0,0 +1,3 @@
{{ define "main" }}
{{ end }}
@@ -0,0 +1,6 @@
{{ define "main" }}
<h2 class="title">{{ .Title }}</h2>
<div class="content">
{{ .Content }}
</div>
{{ end }}