-{{ define "main" }}
-
-<h1 id="hello">Hello there,</h1>
-<p>
- <img class="picture__avatar" height="64" weight="64"
- src="https://emacsel.com/img/aminb.jpg" alt="Amin Bandali"
- title="A photo of me at my alma mater from a few years back">
-</p>
-<div class="clear"></div>
-{{ with .Content }}
-{{ . }}
-{{ end }}
-
-<h2 id="publications">Publications</h2>
-<ul id="text-publications">
- {{ range .Site.Data.publications.pub }}
- <li>
- <p>
- <strong>{{ .title | markdownify }}</strong>
- ({{ .links | markdownify }})
- </p>
- <p class="pub-desc">{{ .description | markdownify }}</p>
- </li>
- {{ end }}
-</ul>
-
-<h2 id="talks">Talks & presentations</h2>
-<ul>
- {{ if gt (len (where .Pages "Section" "talk")) 0 }}
- {{ range first 5 (where .Pages "Section" "talk") }}
- <li><a href="{{substr .Permalink 0 -1}}">{{ .Title }}</a></li>
- {{ end }}
- {{ else }}
- <li>TODO</li>
- {{ end }}
-</ul>
-
-<h2 id="writings">Recent writings & essays</h2>
-<ul>
- {{ if gt (len (where .Pages "Section" "post")) 0 }}
- {{ range first 5 (where .Pages "Section" "post") }}
- <li><a href="{{substr .Permalink 0 -1}}" title="{{ dateFormat "January 2, 2006" .Date }}">{{ .Title }}</a></li>
- {{ end }}
- {{ else }}
- <li>TODO</li>
- {{ end }}
-</ul>
-
-{{ end }}