Update the simple layout
This commit is contained in:
parent
2752c6bf81
commit
70a380e941
1 changed files with 13 additions and 4 deletions
|
@ -1,12 +1,21 @@
|
||||||
{{ define "main" }}
|
{{ define "header" }}
|
||||||
|
{{ partial "header.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ define "main" }}
|
||||||
<article class="post-single">
|
<article class="post-single">
|
||||||
<header class="post-title">
|
<header>
|
||||||
<h1>{{ .Title }}</h1>
|
{{ partial "development/draft_tag.html" . }}
|
||||||
|
<div class="post-title">
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<section class="post-content">
|
<section class="post-content">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</section>
|
</section>
|
||||||
</article>
|
</article>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ define "footer" }}
|
||||||
|
{{ partial "footer.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue