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