aboutsummaryrefslogtreecommitdiff
path: root/themes/classic/source/_includes/article.html
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-06-07 16:12:46 -0400
committerBrandon Mathis <brandon@imathis.com>2011-06-07 16:12:46 -0400
commitaa230616241321ca9c4b8f4202d045c829527618 (patch)
treea3421f7253257f8644ff9adb956af3575a4eec9d /themes/classic/source/_includes/article.html
parent6cba2145136309d2ac5202853b554f0471a67bf0 (diff)
downloadmy_new_personal_website-aa230616241321ca9c4b8f4202d045c829527618.tar.xz
my_new_personal_website-aa230616241321ca9c4b8f4202d045c829527618.zip
Added themes directory, improved javascript load and minification.
Diffstat (limited to 'themes/classic/source/_includes/article.html')
-rw-r--r--themes/classic/source/_includes/article.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/themes/classic/source/_includes/article.html b/themes/classic/source/_includes/article.html
new file mode 100644
index 00000000..1be65526
--- /dev/null
+++ b/themes/classic/source/_includes/article.html
@@ -0,0 +1,28 @@
+{% if page.author %}
+ {% assign author = page.author %}
+{% else %}
+ {% assign author = site.author %}
+{% endif %}
+<header>
+ {% if index %}
+ <h1 class="entry-title"><a href="{{ page.url }}">{{ page.title }}</a></h1>
+ {% else %}
+ <h1 class="entry-title">{{ page.title }}</h1>
+ {% endif %}
+ {% unless page.nometa %}
+ <p>
+ {% if page.date %}
+ <time datetime="{{ page.date | datetime }}" pubdate {% if page.updated %} updated {% endif %}>{{ page.date | ordinalize }}</time>
+ {% endif %}
+ {% if page.updated %}
+ <time class="updated" datetime="{{ page.updated | datetime }}"></time>
+ {% endif %}
+ {% if author %}<span class="byline author vcard">By <span class="fn">{{ author }}</span></span>{% endif %}
+ </p>
+ {% endunless %}
+</header>
+{% if index %}
+<div class="entry-content">{{ content | exerpt(content, page.url, 'Continue reading &raquo;') | smart_quotes }}</div>
+{% else %}
+<div class="entry-content">{{ content | smart_quotes }}</div>
+{% endif %}