moodle/lib/templates/skip_links.mustache
2019-02-26 12:56:14 +01:00

16 lines
348 B
Plaintext

{{!
@template core/skip_links
Example context (json):
{
"links": [
{"url": "http://example.com/link1", "text": "Link 1"},
{"url": "http://example.com/link2", "text": "Link 2"}
]
}
}}
<div>
{{#links}}
<a class="sr-only sr-only-focusable" href="#{{{url}}}">{{{text}}}</a>
{{/links}}
</div>