summaryrefslogtreecommitdiff
path: root/oslosphinx/theme/openstack/layout.html
diff options
context:
space:
mode:
Diffstat (limited to 'oslosphinx/theme/openstack/layout.html')
-rw-r--r--oslosphinx/theme/openstack/layout.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/oslosphinx/theme/openstack/layout.html b/oslosphinx/theme/openstack/layout.html
index 2272675..512ab3f 100644
--- a/oslosphinx/theme/openstack/layout.html
+++ b/oslosphinx/theme/openstack/layout.html
@@ -30,6 +30,15 @@
title="{{ _('next chapter') }}">{{ next.title }}</a></p>
{%- endif %}
{%- endblock %}
+ {%- block projectsource %}
+ {%- if cgit_link %}
+ <h3>{{ _('Project Source') }}</h3>
+ <ul class="this-page-menu">
+ <li><a href="{{cgit_link}}"
+ rel="nofollow">{{ _('Project Source') }}</a></li>
+ </ul>
+ {%- endif %}
+ {%- endblock %}
{%- block sidebarsourcelink %}
{%- if show_source and has_source and sourcename %}
<h3>{{ _('This Page') }}</h3>