From 823f7c4e2651a337de9924fa565ac05a4084b42d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 6 Nov 2017 17:55:44 +0100 Subject: [PATCH] theme: ability to optionally show also author list. --- doc/pelican/theme.rst | 12 ++++++++++++ pelican-theme/templates/base_blog.html | 22 ++++++++++++++++++++-- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/doc/pelican/theme.rst b/doc/pelican/theme.rst index e23acce8..487913d5 100644 --- a/doc/pelican/theme.rst +++ b/doc/pelican/theme.rst @@ -418,6 +418,15 @@ dedicated article page. An exception to this is the main index or archive page, where the first article is fully expanded so the users are greeted with some actual content instead of just a boring list of article summaries. +Article pages show a list of sections and tags in a right sidebar. By default, +list of authors is not displayed as there is usually just one author. If you +want to display the authors as well, enable it using the :py:`SHOW_AUTHOR_LIST` +option in the configuration: + +.. code:: py + + M_SHOW_AUTHOR_LIST = True + `Jumbo articles`_ ----------------- @@ -435,6 +444,9 @@ title and subtitle that's then rendered in a different font size. Example: :slug: jumbo-article :summary: Article summary paragraph. +Sidebar with tag, category and author list shown in the classic article layout +on the right is moved to the bottom for jumbo articles. + .. note-info:: You can compare how an article with nearly the same contents looks as diff --git a/pelican-theme/templates/base_blog.html b/pelican-theme/templates/base_blog.html index 5b153418..c5a77205 100644 --- a/pelican-theme/templates/base_blog.html +++ b/pelican-theme/templates/base_blog.html @@ -14,7 +14,7 @@ {% if article and article.cover %}