gdritter repos new-inf-blog / master templates / post.mustache
master

Tree @master (Download .tar.gz)

post.mustache @masterraw · history · blame

<div class="post">
  <div class="postbody">
    {{{contents}}}
  </div>
  {{#user}}
    <div class="editlink">
      <a href="{{editurl}}">Edit this post</a>
    </div>
    <div class="editlink">
      <a href="{{delurl}}">Delete this post</a>
    </div>
  {{/user}}
</div>

<div class="postnav">
  <span class="new">
    {{#next}}
      <a href="{{link}}">Newer</a>
    {{/next}}
    {{^next}}
      <span class="inactive">Newer</span>
    {{/next}}
  </span>
  <span class="old">
    {{#prev}}
      <a href="{{link}}">Older</a>
    {{/prev}}
    {{^prev}}
      <span class="inactive">Older</span>
    {{/prev}}
  </span>
</div>