From f74beb238b340a535358c4b580a83d11d2b8bc11 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 6 Nov 2017 18:09:13 +0100 Subject: [PATCH] theme: make use of article.modified property. --- doc/pelican/theme.rst | 5 +++-- pelican-theme/templates/article.html | 2 +- pelican-theme/templates/article_footer.html | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) 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 @@ -- 2.30.2