Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
6da9d5ae
Commit
6da9d5ae
authored
Oct 29, 2014
by
Dougal Matthews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a workaround for not having the index name
parent
56008786
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
+11
-1
docs/theme/base.html
+11
-1
No files found.
docs/theme/base.html
View file @
6da9d5ae
...
@@ -49,7 +49,8 @@ a.fusion-poweredby {
...
@@ -49,7 +49,8 @@ a.fusion-poweredby {
}
}
</style>
</style>
</head>
</head>
<body
onload=
"prettyPrint()"
class=
"{{ page_id }}-page"
>
{# TODO: This is a bit of a hack. We don't want to refer to the file specifically. #}
<body
onload=
"prettyPrint()"
class=
"{% if current_page.input_path == 'index.md' %}index{% endif %}-page"
>
<div
class=
"wrapper"
>
<div
class=
"wrapper"
>
...
@@ -193,6 +194,15 @@ a.fusion-poweredby {
...
@@ -193,6 +194,15 @@ a.fusion-poweredby {
<li><a
href=
"{{ toc_item.url }}"
>
{{ toc_item.title }}
</a></li>
<li><a
href=
"{{ toc_item.url }}"
>
{{ toc_item.title }}
</a></li>
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{# TODO: This is a bit of a hack. We don't want to refer to the file specifically. #}
{% if current_page.input_path == 'index.md' %}
<div
class=
"promo"
>
<hr/>
<script
type=
"text/javascript"
src=
"//cdn.fusionads.net/fusion.js?zoneid=1332&serve=C6SDP2Y&placement=djangorestframework"
id=
"_fusionads_js"
></script>
</div>
{% endif %}
</ul>
</ul>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment