Skip to content

Commit

Permalink
[#1301] Adds skip to content accessibility block
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Oct 30, 2013
1 parent c547203 commit 1f4f035
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ckan/templates/page.html
Expand Up @@ -2,6 +2,10 @@

{%- block page -%}

{% block skip %}
<div class="hide"><a href="#content">{{ _('Skip to content') }}</a></div>
{% endblock %}

{#
Override the header on a page by page basis by extending this block. If
making sitewide header changes it is preferable to override the header.html
Expand Down

0 comments on commit 1f4f035

Please sign in to comment.