Website Summary Files Commits Branches @commit @diff @stats
path: root / website / themes / base16 / layouts / partials / article-list-item.html
blob: 10b8fce1a179cf38d25171f0567abde6530b9956 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<article class="list-item" itemscope itemtype="http://schema.org/Blog">
  <h2 class="headline" itemprop="headline"><a href="{{ .RelPermalink }}">{{ .Title }}{{ if .Draft }} (Draft){{ end }}</a></h2>
  <div class="meta">
{{ if not .Date.IsZero }}
    <span class="key">published on</span>
    <span class="val"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span>
{{ end }}
  </div>
  <section class="summary">
    {{ .Summary }} {{ if .Truncated }} <a href="{{ .RelPermalink }}">Read More...</a>{{ end }}
  </section>
</article>