diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2013-05-08 19:50:04 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2013-05-08 19:50:04 +0200 |
commit | f49b1351160e2a309f57bca1e429077b1949a8ec (patch) | |
tree | 649d91d7c3688272e4485fc88cddd2f6a36b50c6 /theme/templates/abstract.html | |
parent | 5bd3c5ca95731e81ceaabedc04367e832ffbf5bb (diff) |
Use uniform template for index category and tag page
Diffstat (limited to 'theme/templates/abstract.html')
-rw-r--r-- | theme/templates/abstract.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/theme/templates/abstract.html b/theme/templates/abstract.html new file mode 100644 index 0000000..57ff2ab --- /dev/null +++ b/theme/templates/abstract.html @@ -0,0 +1,19 @@ +{% macro abstract(article, title_level) %} + <article class="post"> + <{{title_level}} class="title"><a href="{{ SITEURL }}/{{ article.url}}">{{article.title }}</a></{{title_level}}> + + + <time class="meta" datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ article.locale_date }}</time> + <section class="post_content"> + + {% if article.logo %} + <div class="floatleft figure" style="width: 75px"> + <img src="{{ SITEURL }}/{{article.logo}}" > + </div> + {% endif %} + + {{ article.summary }} + <div class="clear" /> + </section> + </article> +{% endmacro %} |