Skip to content

Instantly share code, notes, and snippets.

Avatar

Coffee and Wings coffeeandwings

View GitHub Profile
@coffeeandwings
coffeeandwings / gist:a944639977e13b02d3c707a74f94f5db
Created Jul 15, 2016
Pass variable to include on github-hosted site
View gist:a944639977e13b02d3c707a74f94f5db
{% if page.title %}
{% assign title = page.title %}
{% if title == 'Syllabus' %}
{% include toc-flight-training-syllabus.html %} <br />
{% elsif title == 'Lesson Plans' %}
{% include toc-lesson-plans.html %} <br />
{% elsif %}
There is no menu to display.
{% endif %}
{% elsif %}