summaryrefslogtreecommitdiff
path: root/layouts/index.html
blob: 3fed5be4dab4b58aeb31e5d63f56afa5a1f9fdec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{{ define "main" -}}
<div class="posts">
{{ range .Data.Pages -}}
<div class="post">
  <h1 class="post-title">
    <a href="{{ .Permalink }}">{{ .Title }}</a>
  </h1>
  <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
  {{ .Content }}
</div>
{{- end }}
</div>
{{- end }}