aboutsummaryrefslogtreecommitdiff
path: root/md/POST_TEMPLATE.tmpl.html
blob: e70f2e10997e192531c00ff6bdb79b75f626b3b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{{define "title"}}{{range .Contents}}{{ .Title }}{{end}}{{end}}
{{define "description"}}$description${{end}}
{{define "keywords"}}$tags${{end}}

{{define "main"}}
<h1>$page$</h1>
<article class="postContent">
  <h2>{{range .Contents}}{{ .Title }}{{end}}</h2>
  $body$
  <p>Uploaded: <time datetime="$date$">$date$</time></p>
  <!--<div class="tags">
    <h4>tags:</h4>
    <nav>
      {{ range .Tags }}
      <a href="/tags/{{ . }}">{{ . }}</a> <span>·</span>
      {{ end }}
    </nav>
  </div>-->
</article>
{{end}}