2011-07-19 22:28:48 -04:00
|
|
|
{% unless page.no_header %}
|
|
|
|
<header>
|
|
|
|
{% if index %}
|
2011-07-22 00:14:26 -04:00
|
|
|
<h1 class="entry-title"><a href="{{ root_url }}{{ post.url }}">{{ post.title | titlecase }}</a></h1>
|
2011-07-19 22:28:48 -04:00
|
|
|
{% else %}
|
|
|
|
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
|
|
|
{% endif %}
|
|
|
|
{% unless page.meta == false %}
|
2011-09-04 15:19:10 -04:00
|
|
|
<p class="meta">{% include post/date.html %}{{ time }}</p>
|
2011-07-19 22:28:48 -04:00
|
|
|
{% endunless %}
|
|
|
|
</header>
|
|
|
|
{% endunless %}
|
|
|
|
{% if index %}
|
2011-07-23 09:54:15 -04:00
|
|
|
<div class="entry-content">{{ content | excerpt }}</div>
|
2011-08-20 16:03:37 -04:00
|
|
|
{% capture excerpted %}{{ content | has_excerpt }}{% endcapture %}
|
|
|
|
{% if excerpted == 'true' %}
|
|
|
|
<footer>
|
2011-09-04 09:56:34 -04:00
|
|
|
<a rel="full-article" href="{{ root_url }}{{ post.url }}">{{ site.excerpt_link }}</a>
|
2011-08-20 16:03:37 -04:00
|
|
|
</footer>
|
|
|
|
{% endif %}
|
2011-07-19 22:28:48 -04:00
|
|
|
{% else %}
|
2011-07-22 00:14:26 -04:00
|
|
|
<div class="entry-content">{{ content }}</div>
|
2011-07-19 22:28:48 -04:00
|
|
|
{% endif %}
|