all repos — h3rald @ a86846e227cd82435a2b8b9d08b8f8e4138e838d

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>