aboutsummaryrefslogtreecommitdiff
path: root/source/_includes/article.html
blob: 92f06720b03c235716ac8c91fdcec54f1d80ccdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<header>
  <h1><a href="{{ page.url }}">{{ page.title }}</a></h1>
  <p>
    {% if site.author or site.author == page.author %}
      <span class="byline author vcard">By <span class="fn">{{ site.author }}</span></span>
    {% elsif page.author %}
      <span class="byline author vcard">By <span class="fn">{{ page.author }}</span></span>
    {% endif %}
    {% if page.date %}
      <time datetime="{{ page.date | datetime }}" pubdate>{{ page.date | ordinalize }}</time>
    {% endif %}
    {% if page.updated %}
      <time class="updated" datetime="{{ page.updated | datetime }}" pubdate>Updated {{ page.updated | ordinalize }}</time>
    {% endif %}
  </p>
</header>
{% if index %}
<div class="entry">{{ content | exerpt(content, page.url, 'Continue reading &raquo;') | smart_quotes }}</div>
{% else %}
<div class="entry">{{ content | smart_quotes }}</div>
{% endif %}