Merge pull request #1556 from edx/diana/wiki-skip-links

Add skip link to django template pages.
This commit is contained in:
Diana Huang
2013-10-31 10:17:51 -07:00

View File

@@ -22,15 +22,16 @@
<!--[if lt IE 9]>
<script src="${static.url('js/html5shiv.js')}"></script>
<script src="{% static 'js/html5shiv.js' %}"></script>
<![endif]-->
<meta name="path_prefix" content="{{MITX_ROOT_URL}}">
</head>
<body class="{% block bodyclass %}{% endblock %}">
<a class="nav-skip" href="#content">{% trans "Skip to this view's content" %}</a>
{% include "navigation.html" %}
<section class="content-wrapper">
<section class="content-wrapper" id="content">
{% block body %}{% endblock %}
{% block bodyextra %}{% endblock %}
</section>