refactors the layouts
This commit is contained in:
parent
cefd39e9a1
commit
05d11325ea
28 changed files with 394 additions and 116 deletions
16
layouts/partials/page_single.html
Normal file
16
layouts/partials/page_single.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<article>
|
||||
<header>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Params.subtitle }}
|
||||
<span class="post__subtitle">
|
||||
{{.}}
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ partial "post-meta-before.html" . }}
|
||||
</header>
|
||||
<div class="post">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ partial "post-meta-after.html" . }}
|
||||
{{ partial "post-related.html" . }}
|
||||
</article>
|
Loading…
Add table
Add a link
Reference in a new issue