aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes/show_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'pelican-bootstrap3/templates/includes/show_source.html')
-rw-r--r--pelican-bootstrap3/templates/includes/show_source.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/pelican-bootstrap3/templates/includes/show_source.html b/pelican-bootstrap3/templates/includes/show_source.html
new file mode 100644
index 0000000..f6a4f3c
--- /dev/null
+++ b/pelican-bootstrap3/templates/includes/show_source.html
@@ -0,0 +1,10 @@
+{% if SHOW_SOURCE_IN_SECTION %}
+ {% if article and article.show_source_url %}
+ <section class="well" id="show-source">
+ <h4>This Page</h4>
+ <ul>
+ <a href="{{ SITEURL }}/{{ article.show_source_url }}">Show source</a>
+ </ul>
+ </section>
+ {% endif %}
+{% endif %}