From: Vladimír Vondruš Date: Mon, 6 Nov 2017 17:09:13 +0000 (+0100) Subject: theme: make use of article.modified property. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=f74beb238b340a535358c4b580a83d11d2b8bc11;p=blog.git theme: make use of article.modified property. --- diff --git a/doc/pelican/theme.rst b/doc/pelican/theme.rst index 487913d5..26fc0d2b 100644 --- a/doc/pelican/theme.rst +++ b/doc/pelican/theme.rst @@ -409,8 +409,9 @@ social links: Compared to pages, articles have additional metadata like :rst:`:date:`, :rst:`:author:`, :rst:`:category:` and :rst:`tags` that order them and divide them into various sections. Besides that, there's article :rst:`:summary:`, -that, unlike with pages, is displayed at the top of the article, along with -other metadata. +that, unlike with pages, is displayed in the article header; other metadata are +displayed in article footer. The article can also optionally have a +:rst:`:modified:` date, which is shown as date of last update in the footer. All article listing pages (archives, categories, tags, authors) are displaying just the article summary and the full article content is available only on the diff --git a/pelican-theme/templates/article.html b/pelican-theme/templates/article.html index 563f56a7..febc2d2e 100644 --- a/pelican-theme/templates/article.html +++ b/pelican-theme/templates/article.html @@ -69,7 +69,7 @@ diff --git a/pelican-theme/templates/article_footer.html b/pelican-theme/templates/article_footer.html index 0b31bef7..3b109206 100644 --- a/pelican-theme/templates/article_footer.html +++ b/pelican-theme/templates/article_footer.html @@ -1,3 +1,3 @@