diff options
Diffstat (limited to 'docs_theme')
| -rw-r--r-- | docs_theme/base.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs_theme/base.html b/docs_theme/base.html index 07582392..67290df6 100644 --- a/docs_theme/base.html +++ b/docs_theme/base.html @@ -118,7 +118,15 @@ a.fusion-poweredby { </div> <div id="main-content" class="span9"> - {% include "content.html" %} + {% if meta.source %} + {% for filename in meta.source %} + <a class="github" href="https://github.com/tomchristie/django-rest-framework/tree/master/rest_framework/{{ filename }}"> + <span class="label label-info">{{ filename }}</span> + </a> + {% endfor %} + {% endif %} + + {{ content }} </div><!--/span--> </div><!--/row--> </div><!--/.fluid-container--> |
