all repos — h3rald @ 014a4bffb19de55f0ef2494bc119480df3adb9b6

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
 48
 49
 50
 51
 52
<!DOCTYPE html>
<html lang="en">
  {{> _head}}
  <body>
    <div class="main container-fluid">
      <div class="row">
        <div class="col-xs-12 col-sm-4 col-md-3 sidebar">
          {{> _header}}
          <div class="hidden-xs">
            {{> _panels}}
          </div>
        </div>
        <!-- Sidebar End -->
        <div class="col-xs-12 col-sm-8 col-md-9">
          <div class="box content home-content">
            <article>
            <h2><a href="/{{latest.id}}">{{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.id}}">Continue reading →</a></p>
            </section>
            </article>
            <div class="divider text-center" data-content="more recent articles"></div>
            {{#recents}}
            <article>
            <h4><a href="/{{id}}">{{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="visible-xs row">
        <div class="col-xs-12 sidebar">
        {{> _panels}}
        </div>
      </div>
      <div class="row">
        <div class="col-xs-12">
          {{> _footer}}
        </div>
      </div>
    </div>
  </body>
</html>