diff doc/sphinx_bootstrap_theme/bootstrap/sourcelink.html @ 10:a50cf11e5178

Rewrite LGDataverse completely upgrading to dataverse4.0
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Tue, 08 Sep 2015 17:00:21 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/sphinx_bootstrap_theme/bootstrap/sourcelink.html	Tue Sep 08 17:00:21 2015 +0200
@@ -0,0 +1,6 @@
+{%- if show_source and has_source and sourcename %}
+<div id="sourcelink">
+  <a href="{{ pathto('_sources/' + sourcename, true)|e }}"
+     rel="nofollow">{{ _('Source') }}</a>
+</div>
+{%- endif %}