<!DOCTYPE html>
<html class="index" lang="fr">
  <head dir="ltr">
    {{>blog/head.html}}
    <link rel="stylesheet" href="/css/blog/index.css" />
  </head>
  <body class="index">
    {{#data}}

    <h1>Blog</h1>
    <nav><a id="rss" href="/blog/rss">RSS</a></nav>
    <hr />

    {{#no_posts}}
    <h2 class="subtitle" style="text-align: center">Aucun posts</h2>
    {{/no_posts}} {{^no_posts}}
    <div class="timeline">
      <ul>
        {{#posts}}
        <li onclick="location.href='/blog/p/{{url}}';">
          {{>blog/date.html}}
          <div class="content">
            <h2>{{title}}</h2>
            {{#desc}}
            <p>{{desc}}</p>
            {{/desc}}
          </div>
        </li>
        {{/posts}}
      </ul>
    </div>
    {{/no_posts}} {{/data}} {{>footer.html}}
  </body>
</html>