Splitting up into partials
This commit is contained in:
parent
3612009d32
commit
46c25611b6
6 changed files with 50 additions and 34 deletions
10
layouts/_default/single.html
Normal file
10
layouts/_default/single.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{{ partial "head.html" . }}
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
<main class="siteContent container">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
</main>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
{{ partial "foot.html" . }}
|
Loading…
Add table
Add a link
Reference in a new issue