~dricottone/blog

ref: 4c400159844b0bf539a9595907708781b2c61114 blog/layouts/_default/single.html -rw-r--r-- 221 bytes
4c400159Dominic Ricottone New post 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{ define "main" }}
<div id="content">

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

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

</div>
{{ end }}