~dricottone/blog

ref: 802e6f4ba742dd2e8930bf810759c5665a3cd19f blog/layouts/_default/single.html -rw-r--r-- 250 bytes
802e6f4bDominic Ricottone Redesign of header/navigation 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ define "main" }}
<div id="content">

  {{ if (.Params.toc) }}
  <div id="toc">
    <h2>Table of Contents</h2>
    {{ .TableOfContents }}
  </div>
  {{ end }}

  <article>
    <h1>{{ .Title }}</h1>
    {{ .Content }}
  </article>

</div>
{{ end }}