Sat, 19 Mar 2016 00:50:44 +0100
[theme] add '(last updated on xxx)' in article timestamps when available
theme/static/css/lamboz.css | file | annotate | diff | comparison | revisions | |
theme/templates/article.html | file | annotate | diff | comparison | revisions |
--- a/theme/static/css/lamboz.css Sat Mar 19 00:49:24 2016 +0100 +++ b/theme/static/css/lamboz.css Sat Mar 19 00:50:44 2016 +0100 @@ -93,6 +93,11 @@ margin-bottom: 0.5em; } +.read-more SPAN { + font-size: 80%; + font-style: italic; +} + ul.tag-list { list-style-type: none; margin:0px;
--- a/theme/templates/article.html Sat Mar 19 00:49:24 2016 +0100 +++ b/theme/templates/article.html Sat Mar 19 00:50:44 2016 +0100 @@ -15,7 +15,7 @@ {% block content %} <div class="content-article"> <header class="header-article"> - <div class="read-more">Posted on {{ article.locale_date}}</div> + <div class="read-more">Posted on {{ article.locale_date}}{% if article.locale_modified and article.locale_modified != article.locale_date %} <span>(last updated on {{ article.locale_modified }})</span> {% endif %}</div> </header> <section class='article'>