Skip to content

Commit

Permalink
fixes broken search link
Browse files Browse the repository at this point in the history
  • Loading branch information
actlikewill committed Mar 11, 2025
1 parent c743ae3 commit e0bdfa8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion peachjam/templates/peachjam/_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<a class="bg-white"
href="{% if 'akn/' in request.path %}#document-content{% else %}#top{% endif %}">{% trans 'Skip to document content' %}</a>
<a class="bg-white" href="#main-nav">{% trans 'Skip to main menu' %}</a>
<a class="bg-white" href="#search">{% trans 'Skip to search' %}</a>
<a class="bg-white" href="#header-search">{% trans 'Skip to search' %}</a>
</div>
{% endblock %}
{% block top-bar %}<div>Top bar content</div>{% endblock %}
Expand All @@ -31,6 +31,7 @@
{% block search-form %}
<div class="input-group">
<input type="text"
id="header-search"
class="form-control"
placeholder="{% blocktrans %}Search {{ APP_NAME }}{% endblocktrans %}"
aria-label="{% blocktrans %}Search {{ APP_NAME }}{% endblocktrans %}"
Expand Down

0 comments on commit e0bdfa8

Please sign in to comment.