~dricottone/blog

ref: 7c030f1c0fd1d7543d88c54307d8915b53b58284 blog/layouts/_default/single.html -rw-r--r-- 221 bytes
7c030f1cDominic Ricottone Adding markdown cheatsheet that doubles as rendering reference 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 }}