Merges template for About
This commit is contained in:
parent
f4f85e0e09
commit
6b929ff8e0
2 changed files with 8 additions and 9 deletions
|
@ -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 -}}
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
<div class="post">
|
|
||||||
<h1>{{ .Title }}</h1>
|
|
||||||
{{ .Content }}
|
|
||||||
</div>
|
|
Loading…
Reference in a new issue