mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 19:14:01 +03:00
Move content template into base.html
This commit is contained in:
parent
16d442dda3
commit
361827350a
11
docs/theme/content.html
vendored
11
docs/theme/content.html
vendored
|
@ -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 }}
|
|
@ -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-->
|
||||
|
|
Loading…
Reference in New Issue
Block a user