Skip to content

Remove unused suggestion block from 404 pages #5087

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions readthedocs/templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,6 @@
{% block language-select-form %}{% endblock %}

{% block content %}
{% if suggestion %}
<div class="suggestions">
<h1>You've found something that doesn't exist.</h1>
<p>{{ suggestion.message }}</p>
{% ifequal suggestion.type 'top' %}
<p>
<a href="{{ suggestion.href }}">Go to the top of the documentation.</a>
</p>
{% endifequal %}
{% ifequal suggestion.type 'list' %}
<ul>
{% for item in suggestion.list %}
<li><a href="{% doc_url item.project item.version_slug item.pagename %}">{{ item.label }}</a></li>
{% endfor %}
</ul>
{% endifequal %}
</div>
{% endif %}
<pre style="line-height: 1.25; white-space: pre;">

\ SORRY /
Expand Down