summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
blob: 50810e9c7070dba2b32279d78a4746eb4f710d5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{ define "head" }}
<link rel="stylesheet" href='{{ "css/single.css" | absURL }}'>
{{ end }}

{{ define "main" }}
<main id="main" class="post">
  <h1 class="title">{{ .Title }}</h1>
  <div><i>{{ .PublishDate.Format "January 2, 2006"}}</i></div>
  <hr>
  <article class="content">
    {{ .Content }}
  </article>
  {{ if ne .Params.tags nil }}
  <div>
    <b>Keywords: </b>
    {{ range .Params.tags }}
    <a href='{{ "tags" | absURL }}/{{ . | urlize }}'>#{{ . }}</a>
    {{ end }}
  </div>
  {{ end }}
</main>
{{ end }}