chiark / gitweb /
theme: different styling for updated articles in the footer.
authorVladimír Vondruš <mosra@centrum.cz>
Tue, 16 Jan 2018 13:03:29 +0000 (14:03 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Tue, 16 Jan 2018 21:45:39 +0000 (22:45 +0100)
pelican-theme/templates/article_footer.html
pelican-theme/test/blog_modified_date/index.html

index 49f690be5eee341b6d77112a9c9603aa9c30b45b..5230fa88b10f8ae4458ed702d975c5c1a849af2c 100644 (file)
@@ -1 +1 @@
-<p>Posted{% if article.authors %} by {% for author in article.authors %}<a href="{{ author.url|format_siteurl|e }}">{{ author|e }}</a>{% endfor %}{% endif %} on <time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time> in <a href="{{ article.category.url|format_siteurl|e }}">{{ article.category|e }}</a>{% if article.modified %}; <span class="m-text m-success">updated <time datetime="{{ article.modified.isoformat() }}">{{ article.locale_modified }}</time></span>{% endif %}.{% if article.tags %} Tags: {% for tag in article.tags %}<a href="{{ tag.url|format_siteurl|e }}">{{ tag|e }}</a>{% if not loop.last %}, {% endif %}{% endfor %}.{% endif %}</p>
+<p>Posted{% if article.authors %} by {% for author in article.authors %}<a href="{{ author.url|format_siteurl|e }}">{{ author|e }}</a>{% endfor %}{% endif %} on <time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time> in <a href="{{ article.category.url|format_siteurl|e }}">{{ article.category|e }}</a>.{% if article.modified %} <span class="m-label m-success">updated <time datetime="{{ article.modified.isoformat() }}">{{ article.locale_modified }}</time></span>{% endif %}{% if article.tags %} Tags: {% for tag in article.tags %}<a href="{{ tag.url|format_siteurl|e }}">{{ tag|e }}</a>{% if not loop.last %}, {% endif %}{% endfor %}.{% endif %}</p>
index c9cf3c03ffcfbe9c2bcd050a44074d1b4becbc30..a03a310b488384395b58848ffe862ee2176aee4b 100644 (file)
@@ -43,7 +43,7 @@
           </a></h1>
         </header>
         <footer>
-          <p>Posted on <time datetime="2017-12-08T00:00:00+00:00">Dec 08, 2017</time> in <a href="category-misc.html">misc</a>; <span class="m-text m-success">updated <time datetime="2017-12-10T00:00:00+00:00">Dec 10, 2017</time></span>.</p>
+          <p>Posted on <time datetime="2017-12-08T00:00:00+00:00">Dec 08, 2017</time> in <a href="category-misc.html">misc</a>. <span class="m-label m-success">updated <time datetime="2017-12-10T00:00:00+00:00">Dec 10, 2017</time></span></p>
         </footer>
         <div class="m-clearfix-l"></div>
       </article>