diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-06-17 22:24:48 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-06-17 22:24:48 -0400 |
commit | 21813059f255dcd338d4cc42aad51700126d6058 (patch) | |
tree | 7503e24c9c0858dfc9961df7063b817f5688df57 /themes/classic/source/_includes/article.html | |
parent | b0405cc3c2f901e20d8aa0bc1ed8c499065f0c8b (diff) | |
download | my_new_personal_website-21813059f255dcd338d4cc42aad51700126d6058.tar.xz my_new_personal_website-21813059f255dcd338d4cc42aad51700126d6058.zip |
1. Replaced Rdiscount in favor of Kramdown (better html5 support) for markdown processing.
2. Added updated instructions to the README
3. Removed unused media css directories
4. Improved use of color variables for page theming.
5. Improved Typography and blog styling.
6. Added support for simple pre and code styles
7. Misc styling and markup improvements.
Diffstat (limited to 'themes/classic/source/_includes/article.html')
-rw-r--r-- | themes/classic/source/_includes/article.html | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/themes/classic/source/_includes/article.html b/themes/classic/source/_includes/article.html index 92c06024..764e36d1 100644 --- a/themes/classic/source/_includes/article.html +++ b/themes/classic/source/_includes/article.html @@ -3,24 +3,26 @@ {% else %} {% assign author = site.author %} {% endif %} -<header> - {% if index %} - <h1 class="entry-title"><a href="{{ page.url }}">{{ page.title | titlecase }}</a></h1> - {% else %} - <h1 class="entry-title">{{ page.title | titlecase }}</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> +{% unless page.no_header %} + <header> + {% if index %} + <h1 class="entry-title"><a href="{{ page.url }}">{{ page.title | titlecase }}</a></h1> + {% 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 %} + </header> +{% endunless %} {% if index %} <div class="entry-content">{{ content | exerpt(content, page.url, 'Continue reading »') | smart_quotes }}</div> {% else %} |