Close menu

Pattern Library

{% load test_tags %}
<a href="{% if target_url %}{{ target_url }}{% else %}{% pageurl target_page %}{% endif %}" class="button">
    {% if label %}{{ label }}{% else %}{{ target_page.title }}{% endif %}
</a>
context:
  target_page:
    title: Get started
tags:
  pageurl:
    target_page:
      raw: /get-started