amezing/components/skip-to-content.spug
2026-10-23 08:53:07 -04:00

4 lines
No EOL
260 B
Text

<a id="skip-to-content" class="skip-to-content-link" href="#main-content" tabindex="0">
{%- set icon = load_data(path="icons/phosphor/" ~ "arrow-up-right" ~ ".svg", required=false) -%}
{%- if icon -%}{{ icon | safe }}{{ else }}Skip to content{{ end }}
</a>