From bd8ef84d31882b2bc113df3ba4dcc57da3f37a26 Mon Sep 17 00:00:00 2001 From: Chris Ramsay Date: Sun, 10 Sep 2017 16:23:53 +0100 Subject: Show source support added in pelican-bootstrap3 --- .../templates/includes/sidebar/show_source.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pelican-bootstrap3/templates/includes/sidebar/show_source.html (limited to 'pelican-bootstrap3/templates/includes/sidebar/show_source.html') diff --git a/pelican-bootstrap3/templates/includes/sidebar/show_source.html b/pelican-bootstrap3/templates/includes/sidebar/show_source.html new file mode 100644 index 0000000..4316129 --- /dev/null +++ b/pelican-bootstrap3/templates/includes/sidebar/show_source.html @@ -0,0 +1,19 @@ +{% if SHOW_SOURCE_ON_SIDEBAR %} + {% if (article and article.show_source_url) or (page and page.show_source_url) %} + + +
  • This Page

    + +
  • + + + {% endif %} +{% endif %} -- cgit