all repos — hastysite @ e7a662f3cbbb61be4ba3a41a9350a4ae183c0b91

A high-performance static site generator.

site/templates/news.mustache

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
<!doctype html>
<html lang="en">
  {{> _head}}
  <body>
    {{> _header}}
    <main>
      <article>
        <h1>{{title}}</h1>
        {{{contents}}}
        <ul class="unstyled">
        {{#posts}}
        <li> <span class="date">{{date}}</span> &mdash; <a href="/{{id}}">{{title}}</a></li>
        {{/posts}}
        </ul>
      </article>
    </main>
    {{> _footer}}
  </body>
</html>