aboutsummaryrefslogtreecommitdiff
path: root/themes/classic/source/_includes/article.html
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-06-20 16:44:04 -0400
committerBrandon Mathis <brandon@imathis.com>2011-06-20 16:44:04 -0400
commit5d61b463580584755bc6a45ac3212b3b08409dda (patch)
tree9e112de3ce71622e339f497a76ff8c606551cafd /themes/classic/source/_includes/article.html
parentf77db80077d739077becc1618b87818ea42f145c (diff)
downloadmy_new_personal_website-5d61b463580584755bc6a45ac3212b3b08409dda.tar.xz
my_new_personal_website-5d61b463580584755bc6a45ac3212b3b08409dda.zip
1. Updated readme
2. Improved blog typography 3. Improved support for Disqus 4. Removed unnecessary page layout
Diffstat (limited to 'themes/classic/source/_includes/article.html')
-rw-r--r--themes/classic/source/_includes/article.html26
1 files changed, 11 insertions, 15 deletions
diff --git a/themes/classic/source/_includes/article.html b/themes/classic/source/_includes/article.html
index c0a9782f..7ed6430f 100644
--- a/themes/classic/source/_includes/article.html
+++ b/themes/classic/source/_includes/article.html
@@ -1,8 +1,3 @@
-{% if page.author %}
- {% assign author = page.author %}
-{% else %}
- {% assign author = site.author %}
-{% endif %}
{% unless page.no_header %}
<header>
{% if index %}
@@ -10,19 +5,20 @@
{% else %}
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
{% endif %}
- {% unless page.no_meta or !index %}<p class="meta">{% include post_meta.html %}</p>{% endunless %}
+ {% unless page.no_meta or !index %}<p class="meta">{% include post_date.html %}</p>{% endunless %}
</header>
{% endunless %}
{% if index %}
-<div class="entry-content">{{ content | exerpt | smart_quotes }}</div>
-<footer>
- <p>
- {% if content contains "<!-- more -->" or content contains "<!--more-->" %}
- <a rel="full-article" href="{{ page.url }}">Read more &hellip;</a>
- {% endif %}
- {% include post_meta.html %}
- </p>
-</footer>
+ <div class="entry-content">{{ content | exerpt | smart_quotes }}</div>
+ <p><a rel="full-article" href="{{ page.url }}">Read on &rarr;</a></p>
+ <footer>
+ <p class="meta">
+ {% include post_author.html %}
+ {% include post_date.html %}
+ <span class="comments"><a rel="comments" href="{{ page.url }}#disqus_thread">Add a comment</a></span>
+ {% include sharing.html %}
+ </p>
+ </footer>
{% else %}
<div class="entry-content">{{ content | smart_quotes }}</div>
{% endif %}