Adds layout for the About page
This commit is contained in:
parent
69f17c15b5
commit
92ecccca9a
2 changed files with 14 additions and 0 deletions
10
layouts/about/single.html
Normal file
10
layouts/about/single.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{{ define "header" -}}
|
||||
{{ partial "header.html" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{ define "content" -}}
|
||||
{{ partial "content_about.html" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{ define "footer" -}}
|
||||
{{- end -}}
|
4
layouts/partials/content_about.html
Normal file
4
layouts/partials/content_about.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<div class="post">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
</div>
|
Loading…
Reference in a new issue