~dricottone/blog

ref: 8ac1c011cfcf9d5b73b50a5bef22e03e18466e05 blog/layouts/_default/single.html -rw-r--r-- 221 bytes
8ac1c011Dominic Ricottone New post 2 years 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 }}