<header class="page-header">
  <div>
    <h1 class="page-title">{{ title }}</h1>
    {% if subtitle %}
      <p class="page-subtitle">{{ subtitle }}</p>
    {% endif %}
  </div>
  {% if actions %}
    <div class="page-actions">
      {% for action in actions %}
        {% set classes = action.classes or 'button button-secondary' %}
        <a
          href="{{ action.href }}"
          class="{{ classes }}"
          {% if action.target %}target="{{ action.target }}"{% endif %}
          {% if action.rel %}rel="{{ action.rel }}"{% endif %}
          {% if action.download %}download="{{ action.download }}"{% endif %}
        >
          {{ action.label }}
        </a>
      {% endfor %}
    </div>
  {% endif %}
</header>
