all repos — hastysite @ c6b13df92178adf8fee01ff5799a70767efc5643

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>