aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_includes/article.html
blob: 6b3fb04510d5eabaf3cfba0c3d6d492064b4df44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{% unless page.no_header %}
  <header>
    {% if index %}
      <h1 class="entry-title"><a href="{{ root_url }}{{ post.url }}">{{ post.title | titlecase }}</a></h1>
    {% else %}
      <h1 class="entry-title">{{ page.title | titlecase }}</h1>
    {% endif %}
    {% unless page.meta == false %}
      <p class="meta">{% include post/date.html %}</p>
    {% endunless %}
  </header>
{% endunless %}
{% if index %}
  <div class="entry-content">{{ content | excerpt }}</div>
  <footer>
    <a rel="full-article" href="{{ root_url }}{{ post.url }}">Read on &rarr;</a>
  </footer>
{% else %}
<div class="entry-content">{{ content }}</div>
{% endif %}