2011-06-07 16:12:46 -04:00
|
|
|
{% if page.author %}
|
|
|
|
{% assign author = page.author %}
|
|
|
|
{% else %}
|
|
|
|
{% assign author = site.author %}
|
|
|
|
{% endif %}
|
|
|
|
<header>
|
|
|
|
{% if index %}
|
2011-06-08 20:32:24 -04:00
|
|
|
<h1 class="entry-title"><a href="{{ page.url }}">{{ page.title | titlecase }}</a></h1>
|
2011-06-07 16:12:46 -04:00
|
|
|
{% else %}
|
2011-06-08 20:32:24 -04:00
|
|
|
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
2011-06-07 16:12:46 -04:00
|
|
|
{% endif %}
|
|
|
|
{% unless page.nometa %}
|
|
|
|
<p>
|
|
|
|
{% if page.date %}
|
|
|
|
<time datetime="{{ page.date | datetime }}" pubdate {% if page.updated %} updated {% endif %}>{{ page.date | ordinalize }}</time>
|
|
|
|
{% endif %}
|
|
|
|
{% if page.updated %}
|
|
|
|
<time class="updated" datetime="{{ page.updated | datetime }}"></time>
|
|
|
|
{% endif %}
|
|
|
|
{% if author %}<span class="byline author vcard">By <span class="fn">{{ author }}</span></span>{% endif %}
|
|
|
|
</p>
|
|
|
|
{% endunless %}
|
|
|
|
</header>
|
|
|
|
{% if index %}
|
|
|
|
<div class="entry-content">{{ content | exerpt(content, page.url, 'Continue reading »') | smart_quotes }}</div>
|
|
|
|
{% else %}
|
|
|
|
<div class="entry-content">{{ content | smart_quotes }}</div>
|
|
|
|
{% endif %}
|
2011-06-08 20:32:24 -04:00
|
|
|
|