Skip to content

Commit

Permalink
Back out hack to 404.html for careers-related 404.html -- unnecessary…
Browse files Browse the repository at this point in the history
… following i18n/routing refactor
  • Loading branch information
stevejalim committed May 13, 2024
1 parent 7b66e61 commit 56bddf0
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions bedrock/base/templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,8 @@
{% block content %}
<main class="mzp-l-content message-section">

{% if "/careers/" in request.path %}
<h1 class="error-title">Sorry, we can’t find that job posting</h1>
<p>
The link you followed doesn’t seem to be for an open position.
<a href="{{ url('careers.listings') }}">
Check out our current job listings.
</a>
</p>
{% else %}
<h1 class="error-title">{{ ftl('not-found-page-sorry-we-cant-find-that-page') }}</h1>
<p>{{ftl('not-found-page-were-all-about-a-healthy-internet') }}</p>
{% endif %}
<h1 class="error-title">{{ ftl('not-found-page-sorry-we-cant-find-that-page') }}</h1>
<p>{{ftl('not-found-page-were-all-about-a-healthy-internet') }}</p>

<p class="hide-back" id="go-back">
<a class="back-button">{{ ftl('not-found-page-go-back') }}</a>
Expand Down

0 comments on commit 56bddf0

Please sign in to comment.