aboutsummaryrefslogtreecommitdiff
path: root/source/_includes/article.html
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-05-15 18:33:00 -0400
committerBrandon Mathis <brandon@imathis.com>2011-05-15 18:33:00 -0400
commitc7d5365f81552cae16bbb91696ca3e67b4a0a2e9 (patch)
tree76c57e41828a3492535cde7fe82bef98ccea0eb4 /source/_includes/article.html
parente4c2d5790bac6a74037638fde049c374fc44cc7b (diff)
downloadmy_new_personal_website-c7d5365f81552cae16bbb91696ca3e67b4a0a2e9.tar.xz
my_new_personal_website-c7d5365f81552cae16bbb91696ca3e67b4a0a2e9.zip
major refactoring, improved file watching, changed site to public to support rack via pow (http://pow.cx) also implemented the basics of a 320 and up design refresh on the classic theme. This should make it great for mobile reading
Diffstat (limited to 'source/_includes/article.html')
-rw-r--r--source/_includes/article.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/source/_includes/article.html b/source/_includes/article.html
index aa7f8194..92f06720 100644
--- a/source/_includes/article.html
+++ b/source/_includes/article.html
@@ -1,18 +1,21 @@
<header>
+ <h1><a href="{{ page.url }}">{{ page.title }}</a></h1>
<p>
- <time>{{ page.date | ordinalize }}</time>
{% if site.author or site.author == page.author %}
- <span class="byline"><em>by</em> <span class="author">{{ site.author }}</span></span>
+ <span class="byline author vcard">By <span class="fn">{{ site.author }}</span></span>
{% elsif page.author %}
- <span class="byline"><em>by</em> <span class="author">{{ page.author }}</span></span>
+ <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>
{% endif %}
</p>
- <h1><a href="{{ page.url }}">{{ page.title }}</a></h1>
</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 %}
-
-{% if page.updated %}<p class="updated"><em>updated</em> <time>{{ page.updated | ordinalize }}</time></p>{% endif %}