refactors layouts for head, footer and post
This commit is contained in:
parent
e8e4ba4c3b
commit
e980cbedc8
21 changed files with 93 additions and 61 deletions
16
layouts/partials/page-single/content.html
Normal file
16
layouts/partials/page-single/content.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<article>
|
||||
<header>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Params.subtitle }}
|
||||
<span class="post__subtitle">
|
||||
{{.}}
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ partial "page-single/post-meta-top.html" . }}
|
||||
</header>
|
||||
<div class="post">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ partial "page-single/post-meta-bottom.html" . }}
|
||||
{{ partial "page-single/post-related.html" . }}
|
||||
</article>
|
Loading…
Add table
Add a link
Reference in a new issue