{{ define "main" }}

<h1>About</h1>

<p>
I'm <a href="https://julien.riou.xyz">Julien Riou</a>, an open source databases specialist, working for a major cloud 
provider in Europe. This website is the presentation of my self-hosting projects.
</p>
<br/>

<h1>Posts</h1>

<div class="posts-list">
{{ with .Site.GetPage "/posts" }}
    {{ range (sort .Data.Pages "Date" "desc" (where .Pages ".Params.private" "!=" true))}}
        <div class="post">
            <div class="date">{{ .PublishDate.Format "Jan 2, 2006" }}</div>
            <a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
        </div>
{{ end }}
{{ end }}
</div>

{{ end }}
