about summary refs log tree commit diff
path: root/users/fcuny/notes/layouts/index.html
blob: 8ddc67d13f75809270913a045fb7b8f80bd16ac5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{ define "main" }}

<article>

  A place to collect random notes.

  <ul id="post-permalink">
  {{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
  {{ range $pages }}
  <li>
    <a href="{{ .Permalink }}">{{ .Title }}</a>
    {{ range $idx, $tag := .Params.tags }}
    <span id="meta_tags"><a href="/tags/{{ $tag | urlize }}/">{{ $tag }}</a></span>
  {{ end }}
  </li>

  {{ end }}
  </ul>

</article>

{{ end }}