{% include 'wagtailnhsukfrontend/skip_link.html' %}
Option | Description | Default |
---|---|---|
text |
Title to display for the link | Skip to main content |
href |
The href tag for the skip link | #maincontent |
To ensure that the skip link works as intended make sure its the first include in the template. You can also pass the two options above using with
after the include
tag.
{% include 'wagtailnhsukfrontend/skip_link.html' with href="#demo" text="Demo Text"%}