diff options
| -rw-r--r-- | docs/theme/content.html | 11 | ||||
| -rw-r--r-- | docs_theme/base.html | 10 | 
2 files changed, 9 insertions, 12 deletions
| diff --git a/docs/theme/content.html b/docs/theme/content.html deleted file mode 100644 index 93a437ff..00000000 --- a/docs/theme/content.html +++ /dev/null @@ -1,11 +0,0 @@ -{% 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 }} 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--> | 
