{% assign titlemaker = include.titlemaker | default: "page.title" %} {% assign include_tags = include.tags | split: "," %} {% assign exclude_tags = include.except_tags | split: "," %} {% assign sorted_pages = site.pages | sort_using: site.data.sidebars.pmd_sidebar %} {% assign panel_id = include.title | downcase | strip | replace: ' ', '-' | prepend: "shuffle-panel-" %}
{% if include.image != "" and include.image != nil %}
{% endif %}
{{ include.title }}

{{ include.description }}

    {% for page in sorted_pages %} {% capture included %}{{ page.tags | intersect: include_tags | equals: include_tags }}{% endcapture %} {% capture excluded %}{{ page.tags | intersect: exclude_tags | empty }}{% endcapture %} {% if included contains "true" and excluded contains "true" %}
  • {% eval titlemaker %}
  • {% endif %} {% endfor %}