aboutsummaryrefslogtreecommitdiffstats
path: root/site
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-11-15 18:42:55 +0100
committerStephane Desneux <stephane.desneux@iot.bzh>2016-11-15 18:42:55 +0100
commit8baa57816ef35468cf84e63503d055d58d43f63b (patch)
tree21f74aae67713efa4c054f65d0661b7eb17fd894 /site
parent20e76b28d1a699884c4426608fb692d58a0537ea (diff)
webdocs: add origin_url when appliable into footer
Change-Id: I556c6286e135e36de852b51ffb8e2e536525bb24 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'site')
-rw-r--r--site/_includes/footer_contents.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/site/_includes/footer_contents.html b/site/_includes/footer_contents.html
index fe3b9da..01b5f46 100644
--- a/site/_includes/footer_contents.html
+++ b/site/_includes/footer_contents.html
@@ -63,5 +63,8 @@
</div>
<div class="col-sm-3">
<small class="stats">{% render_time Page rendered at: %}</small>
+ {% if page.origin_url != nil %}
+ <small class="stats"><a href="{{ page.origin_url }}">Link to source document</small>
+ {% endif %}
</div>
</div>