diff options
author | Jiachen Yang <farseerfc@gmail.com> | 2012-03-11 04:40:57 +0900 |
---|---|---|
committer | Jiachen Yang <farseerfc@gmail.com> | 2012-03-11 04:40:57 +0900 |
commit | d4e47e48d34326810c2e666b0ee774723291ce2a (patch) | |
tree | 04201c22a301a80319ecd22c93d640769df9655d /bootstrap2/templates/article_infos.html | |
parent | 19755337b123da8c02f729ef7f4041f0cbf60545 (diff) | |
download | pelican-themes-d4e47e48d34326810c2e666b0ee774723291ce2a.tar.gz |
adjust bootstrap2
Diffstat (limited to 'bootstrap2/templates/article_infos.html')
-rw-r--r-- | bootstrap2/templates/article_infos.html | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/bootstrap2/templates/article_infos.html b/bootstrap2/templates/article_infos.html index a1993a0..7596f40 100644 --- a/bootstrap2/templates/article_infos.html +++ b/bootstrap2/templates/article_infos.html @@ -1,14 +1,21 @@ <footer class="post-info"> - <abbr class="published" title="{{ article.date.isoformat() }}"> - {{ article.locale_date }} - </abbr> +<span class="label">Date</span> +<abbr class="published" title="{{ article.date.isoformat() }}"> + {{ article.locale_date }} +</abbr> +{% if article.author %} +<span class="label label-info">By</span> +<a class="btn btn-primary xsmall" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a> +{% endif %} +<span class="label label-success">Category</span> +<a class="btn btn-success xsmall" href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>. - {% if article.author %} - <address class="vcard author"> - By <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a> - </address> - {% endif %} -<p>In <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>. {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a>{% endif %}</p> +{% if PDF_PROCESSOR %} +<span class="label"> +<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">PDF</a> +</span> +{% endif %} + {% include 'taglist.html' %} {% include 'translations.html' %} </footer><!-- /.post-info --> |