about summary refs log tree commit diff
path: root/users/fcuny/notes/layouts/partials/postlist.html
blob: 3695d82f40a4b720efb7c87af1169000ab72b346 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<p><a href="/">&larr; Back to Franck's homepage</a></p>

{{ range .GroupByDate "2006-Jan" }}
  <h2>{{ .Key }}</h2>
  <ul>
    {{ range .Pages.ByDate }}
    <li>
      <div>
        <a href="{{ .Permalink }}"><h3>{{ .Title }}</h3></a>
	    {{ if .Params.tags }}
	    <div>
	      Tags:
	      {{ range $idx, $tag := .Params.tags }}
	      <span class="tags"><a href="/tags/{{ $tag | urlize }}/">{{ $tag }}</a></span>
	      {{ end }}
	    </div>
	    {{ else }}
	    <div></div>
	    {{ end }}
      </div>
      <div>
	    <p>
	      {{ .Summary }}
	      <span><a href="{{ .Permalink }}">Read more →</a></span>
	    </p>
      </div>
    </li>
    {{ end }}
  </ul>
{{ end }}