add GNU Inside badge
[~bandali/bndl.org] / layouts / index.html
... / ...
CommitLineData
1{{ define "main" }}
2
3<h1 id="hello">Hello there,</h1>
4<p>
5 <a href="/colophon#i2pangel">
6 <img class="picture__avatar" src="{{ (resources.Get "i2pangel-83x64.png" | fingerprint).RelPermalink }}" alt="i2p angel by nether" title="i2p angel by nether">
7 </a>
8</p>
9<div class="clear"></div>
10{{ with .Content }}
11{{ . }}
12{{ end }}
13
14<h2 id="publications">Publications</h2>
15<ul id="text-publications">
16 {{ range .Site.Data.publications.pub }}
17 <li>
18 <p>
19 <strong>{{ .title | markdownify }}</strong>
20 ({{ .links | markdownify }})
21 </p>
22 <p class="pub-desc">{{ .description | markdownify }}</p>
23 </li>
24 {{ end }}
25</ul>
26
27<h2 id="talks">Talks &amp; presentations</h2>
28<ul>
29 {{ if gt (len (where .Pages "Section" "talk")) 0 }}
30 {{ range first 5 (where .Pages "Section" "talk") }}
31 <li><a href="{{substr .Permalink 0 -1}}">{{ .Title }}</a></li>
32 {{ end }}
33 {{ else }}
34 <li>TODO</li>
35 {{ end }}
36</ul>
37
38<h2 id="writings">Recent writings &amp; essays</h2>
39<ul>
40 {{ if gt (len (where .Pages "Section" "post")) 0 }}
41 {{ range first 5 (where .Pages "Section" "post") }}
42 <li><a href="{{substr .Permalink 0 -1}}" title="{{ dateFormat "January 2, 2006" .Date }}">{{ .Title }}</a></li>
43 {{ end }}
44 {{ else }}
45 <li>TODO</li>
46 {{ end }}
47</ul>
48
49{{ end }}