Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Drupal breadcrumb markup #53

Open
nstriedinger opened this issue Aug 24, 2016 · 0 comments
Open

Use Drupal breadcrumb markup #53

nstriedinger opened this issue Aug 24, 2016 · 0 comments

Comments

@nstriedinger
Copy link
Contributor

nstriedinger commented Aug 24, 2016

Use Drupal breadcrumb as an include in our base install. This can be static.

<nav role="navigation" aria-labelledby="system-breadcrumb">
    <h2 class="visually-hidden">{{ 'Breadcrumb'|t }}</h2>
    <ol>
    {% for item in breadcrumb %}
        {% if item.url %}
          <a href="{{ item.url }}">{{ item.text }}</a>
        {% else %}
          {{ item.text }}
        {% endif %}
    {% endfor %}
    </ol>
  </nav>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant