{%- assign root = include.root | default: "documents" %}
{%- assign data = include.data | default: site.data[root] %}
{%- assign tag = include.tag | default: "" %}
{%- assign width = include.width %}
{%- assign height = include.height %}
{%- capture root_tag -%}{%- if tag != "" -%}/{{ tag }}{%- endif -%}{%- endcapture -%}
{%- if include.saveroot == nil %}
  <h3>{{ include.title | default: "All Documents" }}</h3>
  {%- assign alldocs_exist = false %}
{%- endif %}
{%- for item in data %}
  {%- if item[1]['@ty