Move content template into base.html

This commit is contained in:
José Padilla 2014-10-31 10:25:19 -04:00 committed by Dougal Matthews
parent 16d442dda3
commit 361827350a
2 changed files with 9 additions and 12 deletions

View File

@ -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 }}

View File

@ -118,7 +118,15 @@ a.fusion-poweredby {
</div> </div>
<div id="main-content" class="span9"> <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><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->