{% stories taxonomyterm with { title: 'Components/taxonomy-term' } %}

{% story default with {
    name: 'Taxonomy term page',
    args: { title: 'What is taxonomy term?' }
  } %}

{% set term = [
  {
    bundle: "test",
    id: 3
  }
  ] 
%}

  {% set link_title %}
    {{ link('term 1', path('entity.taxonomy_term.canonical', {'taxonomy_term': 1})) }}
  {% endset %}
  
  {% set url = path('entity.taxonomy_term.canonical', {'taxonomy_term': 3}) %}
  {% set name = 'term 1' %}
  {% set content  %} 
    <p>This is just a label</p>
    {% endset %}

{% embed 'tailpine:taxonomyterm' with { link_title: link_title, url: url, name: name, term: term, content: content} %}
{% block  taxonomyterm %} {% endblock %}
{% endembed %}
{% endstory %}
{% endstories %}
