diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-06-19 15:14:01 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-06-19 15:14:01 -0400 |
commit | f77db80077d739077becc1618b87818ea42f145c (patch) | |
tree | e12f94b6badb067597bf76b1dd383a2c370b82c4 /themes/classic/source/_includes/article.html | |
parent | 105ba1434314e06f6cce39e17aedd1f0d66a92d6 (diff) | |
download | my_new_personal_website-f77db80077d739077becc1618b87818ea42f145c.tar.xz my_new_personal_website-f77db80077d739077becc1618b87818ea42f145c.zip |
1. Switched back to Rdiscount
2. Improved Blockquote comment header
3. Added Include File and Pullquote plugins
4. Improved blog typography
5. Simplified "Read more" link
Diffstat (limited to 'themes/classic/source/_includes/article.html')
-rw-r--r-- | themes/classic/source/_includes/article.html | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/themes/classic/source/_includes/article.html b/themes/classic/source/_includes/article.html index 764e36d1..c0a9782f 100644 --- a/themes/classic/source/_includes/article.html +++ b/themes/classic/source/_includes/article.html @@ -10,22 +10,19 @@ {% else %} <h1 class="entry-title">{{ page.title | titlecase }}</h1> {% endif %} - {% unless page.no_meta %} - <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 %} + {% unless page.no_meta or !index %}<p class="meta">{% include post_meta.html %}</p>{% endunless %} </header> {% endunless %} {% if index %} -<div class="entry-content">{{ content | exerpt(content, page.url, 'Continue reading »') | smart_quotes }}</div> +<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 …</a> + {% endif %} + {% include post_meta.html %} + </p> +</footer> {% else %} <div class="entry-content">{{ content | smart_quotes }}</div> {% endif %} - |