mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 11:04:02 +03:00
92a4a5d423
* Use 'site_url' instead of hardcoding DRF homepage * Use 'url' template filter instead of 'base_url' This fixes static file loading for the 404 page. * Only insert funding <hr> if toc is present * Link quickstart to valid API guide page * Fix 404 search modal link * Use 'base_url' instead of 'site_url' on 404 page
10 lines
365 B
HTML
10 lines
365 B
HTML
{% extends "main.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<h1 id="404-page-not-found" style="text-align: center">404</h1>
|
|
<p style="text-align: center"><strong>Page not found</strong></p>
|
|
<p style="text-align: center">Try the <a href="{{ base_url }}">homepage</a>, or <a href="#mkdocs_search_modal" data-toggle="modal">search the documentation</a>.</p>
|
|
|
|
{% endblock %}
|