all repos — h3rald @ 7c716a5378b64bf3d561f963d92c838eceada120

The sources of https://h3rald.com

templates/_archives.mustache

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
<div class="container archives">
  <!--
    <input type="text" class="form-input search-input" placeholder="Search articles...">
    <a class="clear-button d-none"><i class="ent ent-circle-with-cross"></i></a>
    <a class="search-button"><i class="ent ent-magnifying-glass"></i></a>
  <div class="loading clearfix"></div>
  <div class="no-search-results d-none clearfix">
    <div class="empty">
    <p class="empty-title h5">No results found</p>
    <p class="empty-subtitle">There are no articles matching your query.</p>
    <a class="archives-button">&larr; Go back</a>
  </div>
  </div>
  <div class="search-results d-none clearfix">
  </div>
  -->
  <div class="timeline clearfix d-none">
  {{#archives}}
    <h3>{{month}}</h3>
    <ul>
    {{#articles}}
      <li>
        {{date}} &mdash; <a href="/{{id}}">{{title}}</a>
      </li>
    {{/articles}}
    </ul>
  {{/archives}}
  </div>
</div>
<script src="/js/search.js" type="text/javascript"></script>