summaryrefslogtreecommitdiffstats
path: root/layouts/blog/single.html
blob: 2e1bf0d7694ec4e8a248fd808f8ed29010952c81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ define "main" }}
<main>
  <div class="container">
    <div class="center flex">
      <h1>{{ .Title }}</h1>
      <section class="post-meta">Posted on {{ .Date.Format "January 2, 2006" }}</section>
      <article>
        {{ .Content }}
      </article>
    </div>
    <aside class="right flex">
      <b id="TableOfContentsTitle">Table of Contents</b>
      {{ .TableOfContents }}
    </aside>
  </div>
</main>
{{ end }}