aboutsummaryrefslogtreecommitdiff
path: root/source/_includes/article.html
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-04-17 22:49:30 -0500
committerBrandon Mathis <brandon@imathis.com>2011-04-17 22:49:30 -0500
commite4c2d5790bac6a74037638fde049c374fc44cc7b (patch)
tree83f5e5b7324fcb5951d755442e2e601a3eaed35a /source/_includes/article.html
parent4db81a9e51e452495a06ad8c57ac4ac689a9ff34 (diff)
downloadmy_new_personal_website-e4c2d5790bac6a74037638fde049c374fc44cc7b.tar.xz
my_new_personal_website-e4c2d5790bac6a74037638fde049c374fc44cc7b.zip
irrisponsibly massive commit
Diffstat (limited to '')
-rw-r--r--source/_includes/article.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/_includes/article.html b/source/_includes/article.html
new file mode 100644
index 00000000..aa7f8194
--- /dev/null
+++ b/source/_includes/article.html
@@ -0,0 +1,18 @@
+<header>
+ <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>
+ {% elsif page.author %}
+ <span class="byline"><em>by</em> <span class="author">{{ page.author }}</span></span>
+ {% 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 %}