{% capture titlemaker %} {{ include.titlemaker | default: "page.title" }} {% endcapture %} {% 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 %}
{% 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" %}
  • {{ titlemaker }}
  • {% endif %} {% endfor %}