layout | title | project |
---|---|---|
page |
Autochair |
autochair |
{% for item in site.collections %} {% if item.label == page.project %} {% assign project = item.docs %} {% endif %} {% endfor %}
{% if project %} {% assign about = project | where: "title", "About" | first %}
{% if about %}
{{ about.content }}
{% else %}You did not properly set up the About
file for your project! Be sure you followed the directions located here
{% endif %}
{% if about.toc %} {% for content in about.toc %} {% for item in project %} {% if item.title == content %}
{% endif %} {% endfor %} {% endfor %} {% else %} {% for item in project %} {% if item.title != "About" %} {% endif %} {% endfor %} {% endif %}{% else %}
You did not properly set up your project! The title
field in this document's front matter does not match any existing project folder! Be sure you followed the directions located here
{% endif %}