blog/source/_includes/article.html

22 lines
873 B
HTML
Raw Normal View History

2011-04-18 03:49:30 +00:00
<header>
<h1><a href="{{ page.url }}">{{ page.title }}</a></h1>
2011-04-18 03:49:30 +00:00
<p>
{% if site.author or site.author == page.author %}
<span class="byline author vcard">By <span class="fn">{{ site.author }}</span></span>
2011-04-18 03:49:30 +00:00
{% elsif page.author %}
<span class="byline author vcard">By <span class="fn">{{ page.author }}</span></span>
{% endif %}
{% if page.date %}
<time datetime="{{ page.date | datetime }}" pubdate>{{ page.date | ordinalize }}</time>
{% endif %}
{% if page.updated %}
<time class="updated" datetime="{{ page.updated | datetime }}" pubdate>Updated {{ page.updated | ordinalize }}</time>
2011-04-18 03:49:30 +00:00
{% endif %}
</p>
</header>
{% if index %}
<div class="entry">{{ content | exerpt(content, page.url, 'Continue reading &raquo;') | smart_quotes }}</div>
{% else %}
<div class="entry">{{ content | smart_quotes }}</div>
{% endif %}