tags-sharing

Information

Folder
src/components/patterns/tags-sharing

Files

Schema
Mocks
Template
// src/components/patterns/tags-sharing/tags-sharing.html.twig

<div class="TagsSharing u-container{% if class %} {{ class }}{% endif %}">
  <div class="TagsSharing-container">
    {% include "@elements/share/share.html.twig" with sharing only %}
    {% if tags %}
      {% set tags = tags|merge({class: "TagsSharing-tags"}) %}
      {% include "@elements/tags/tags.html.twig" with tags only %}
    {% endif %}
  </div>
</div>

Variants

default
Open

default mock data

Raw
Resolved