[wip] fix uw link and add Colophon
[~bandali/bndl.org] / layouts / index.html
1 {{ define "main" }}
2
3 <h1 id="hello">Hello there,</h1>
4 <p>
5 <img class="picture__avatar" src="https://emacsel.com/img/aminb.jpg" alt="Amin Bandali">
6 </p>
7 <div class="clear"></div>
8 {{ with .Content }}
9 {{ . }}
10 {{ end }}
11
12 <h2 id="publications">Publications</h2>
13 <ul>
14 <li>TODO</li>
15 </ul>
16
17 <h2 id="talks">Talks &amp; presentations</h2>
18 <ul>
19 {{ if gt (len (where .Pages "Section" "talk")) 0 }}
20 {{ range first 5 (where .Pages "Section" "talk") }}
21 <li><a href="{{substr .Permalink 0 -1}}">{{ .Title }}</a></li>
22 {{ end }}
23 {{ else }}
24 <li>TODO</li>
25 {{ end }}
26 </ul>
27
28 <h2 id="writings">Recent writings &amp; essays</h2>
29 <ul>
30 {{ if gt (len (where .Pages "Section" "post")) 0 }}
31 {{ range first 5 (where .Pages "Section" "post") }}
32 <li><a href="{{substr .Permalink 0 -1}}" title="{{ dateFormat "January 2, 2006" .Date }}">{{ .Title }}</a></li>
33 {{ end }}
34 {{ else }}
35 <li>TODO</li>
36 {{ end }}
37 </ul>
38
39 {{ end }}