~dricottone/blog

ref: 3a52cf9f11388f612d8660166eb5ef7f6570b73a blog/layouts/_default/list.html -rw-r--r-- 301 bytes
3a52cf9fDominic Ricottone Redesigned layout 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{ define "main" }}
<div id="blog-content">

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

  <ul id="blog-list">
    {{ range .Pages }}
    <li><h2><a href="{{ .Permalink }}">{{ .Date.Format "2006-01-02" }} - {{ .Title }}</a></h2></li>
    {{ end }}
  </ul>

</div>
{{ end }}