diff options
| author | José Padilla | 2014-10-31 10:25:19 -0400 |
|---|---|---|
| committer | Dougal Matthews | 2014-11-25 12:44:11 +0000 |
| commit | 361827350a8bd4efb4d6a09bcb29c0185a5454ed (patch) | |
| tree | 4b741437d62128bb76db6950ee110f06551bf5be /docs_theme | |
| parent | 16d442dda3ee9d4ff40d067d76706959aac4c6a3 (diff) | |
| download | django-rest-framework-361827350a8bd4efb4d6a09bcb29c0185a5454ed.tar.bz2 | |
Move content template into base.html
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--> |
