2011-06-07 16:12:46 -04:00
|
|
|
{% if page.author %}
|
|
|
|
{% assign author = page.author %}
|
|
|
|
{% else %}
|
|
|
|
{% assign author = site.author %}
|
|
|
|
{% endif %}
|
2011-06-17 22:24:48 -04:00
|
|
|
{% unless page.no_header %}
|
|
|
|
<header>
|
|
|
|
{% if index %}
|
|
|
|
<h1 class="entry-title"><a href="{{ page.url }}">{{ page.title | titlecase }}</a></h1>
|
|
|
|
{% else %}
|
|
|
|
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
|
|
|
{% endif %}
|
2011-06-19 15:14:01 -04:00
|
|
|
{% unless page.no_meta or !index %}<p class="meta">{% include post_meta.html %}</p>{% endunless %}
|
2011-06-17 22:24:48 -04:00
|
|
|
</header>
|
|
|
|
{% endunless %}
|
2011-06-07 16:12:46 -04:00
|
|
|
{% if index %}
|
2011-06-19 15:14:01 -04:00
|
|
|
<div class="entry-content">{{ content | exerpt | smart_quotes }}</div>
|
|
|
|
<footer>
|
|
|
|
<p>
|
|
|
|
{% if content contains "<!-- more -->" or content contains "<!--more-->" %}
|
|
|
|
<a rel="full-article" href="{{ page.url }}">Read more …</a>
|
|
|
|
{% endif %}
|
|
|
|
{% include post_meta.html %}
|
|
|
|
</p>
|
|
|
|
</footer>
|
2011-06-07 16:12:46 -04:00
|
|
|
{% else %}
|
|
|
|
<div class="entry-content">{{ content | smart_quotes }}</div>
|
|
|
|
{% endif %}
|