Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.15 KB

autochair.md

File metadata and controls

50 lines (38 loc) · 1.15 KB
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 %}

Uh Oh!

You did not properly set up the About file for your project! Be sure you followed the directions located here

{% endif %}

Contents

{% if about.toc %} {% for content in about.toc %} {% for item in project %} {% if item.title == content %}

{{ item.title }}

{% endif %} {% endfor %} {% endfor %} {% else %} {% for item in project %} {% if item.title != "About" %}

{{ item.title }}

{% endif %} {% endfor %} {% endif %}

{% else %}

Uh Oh!

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 %}