Skip to content
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

Add 429.html #2045

Merged
merged 1 commit into from
Sep 18, 2024
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
25 changes: 25 additions & 0 deletions peachjam/templates/429.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{% extends "peachjam/layouts/main.html" %}
{% load i18n %}
{% block title %}
{% trans 'Too many requests (Error 429)' %}
{% endblock %}
{% block page-content %}
<section class="py-5">
<div class="container">
<h1 class="mb-4">{% trans 'Too many requests (Error 429)' %}</h1>
<p>
{% blocktrans trimmed %}
You've made too many requests in a short period. Please try again later.
{% endblocktrans %}
</p>
<ul>
<li>
<a href="{% url 'home_page' %}">{% trans "Go to the homepage." %}</a>
</li>
<li>
<a href="{% url 'search:search' %}">{% trans "Try searching for what you're looking for." %}</a>
</li>
</ul>
</div>
</section>
{% endblock %}
Loading