all repos — h3rald @ 5ce44db426a8f765bb63a8201daaf6191a6d8848

The sources of https://h3rald.com

templates/home.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
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
<!DOCTYPE html>
<html lang="en">
  {{> _head}}
  <body>
    <div class="main container-fluid">
        {{> _header}}
      <div class="row">
        <div class="hidden-xs col-sm-4 col-md-3 sidebar">
          {{> _panels}}
        </div>
        <div class="col-xs-12 col-sm-8 col-md-9">
          <div class="box content home-content">
            <article>
            <h2><a href="/{{latest.rawid}}">{{latest.title}}</a></h2>
            <p class="primary-subtitle">
            {{latest.subtitle}}
            </p>
            <time><i class="ent ent-calendar"></i> {{latest.date}}</time></p>
            <section class="body-text">
            {{{latest.summary}}}
            <p><a href="/{{latest.rawid}}">Continue reading →</a></p>
            </section>
            </article>
            <div class="divider text-center" data-content="more recent articles"></div>
            {{#recents}}
            <article>
            <h4><a href="/{{rawid}}">{{title}}</a></h4>
            <p class="secondary-subtitle">
            {{subtitle}}
            </p>
            <time><i class="ent ent-calendar"></i> {{date}}</time></p>
            </article>
            {{/recents}}
          </div>
        </div>
      </div>
      <div class="hidden-md hidden-lg hidden-xl col-xs-12 sidebar">
      {{> _panels}}
      </div>
      <div class="row">
        <div class="col-xs-12">
          {{> _footer}}
        </div>
      </div>
    </div>
  </body>
</html>