Update the simple layout

This commit is contained in:
Eryn Wells 2022-09-25 07:45:47 -07:00
parent 2752c6bf81
commit 70a380e941

View file

@ -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 }}