    {% if folderitem.output contains "pdf" and folderitem.type != "frontmatter"%}
                <li><a href="{{folderitem.url | prepend: site.baseurl}}">{{folderitem.title}}</a>
                    {% for subfolders in folderitem.subfolders %}
                    {% if subfolders.output contains "pdf" and subfolders.type != "frontmatter" %}
                <li class="sectionHead">{{ subfolders.title }}
                    <ul>
                        {% for subfolderitem in subfolders.subfolderitems%}
   