diff --git a/docs/templates.md b/docs/templates.md index a9d5316..f7d957f 100755 --- a/docs/templates.md +++ b/docs/templates.md @@ -5,52 +5,43 @@ source_filename: templates ### Create the template file To edit the template you will have to create a `.html` file to override the original one. Inside your `templates` directory create a directory named `rest_framework_docs` and inside this create the file `docs.html`. You can then extend/override the default template. - {% raw %} {% extends "rest_framework_docs/base.html" %} - {% endraw %} ### Default Blocks ##### Styles (CSS) - {% raw %} {% block style %} {% endblock %} - {% endraw %} ##### GitHub Badge To hide the GitHub badge from the page, just override it with an empty block. - {% raw %}{% block github_badge %}{% endblock %}{% endraw %} + {% block github_badge %}{% endblock %} ##### Title - {% raw %}{% block title %}Project Name{% endblock %}{% endraw %} + {% block title %}Project Name{% endblock %} ##### Logo - {% raw %} {% block logo %} DRF Docs {% endblock %} - {% endraw %} ##### Jumbotron - {% raw %} {% block jumbotron %}