~dricottone/blog

ref: dcbed11924f5816b467b47a0169fb248ae605163 blog/layouts/_default/single.html -rw-r--r-- 224 bytes
dcbed119Dominic Ricottone nitpick 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{ define "main" }}
<div id="content">

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

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

</div>
{{ end }}