Created
November 16, 2016 10:11
-
-
Save puterleat/68450e8db8121f7e271915cdab147286 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in events_list.html replace this line: | |
{% assign events = site.events | sort: 'document.starts' %} | |
with: | |
{% if list_event_type %} | |
{% assign events = site.events | sort: 'document.starts' | where:'eventtype', list_event_type %} | |
{% else %} | |
{% assign events = site.events | sort: 'document.starts' %} | |
{% endif %} | |
then in intensive-training.markdown add this line above the list: | |
### Forthcoming workshops and training events | |
{% assign list_event_type = 'intensive' %} | |
{% include event_list.html %} | |
You can do this anywhere you use the event_list.html include... If you don't specify the list_event_type it will default to all events. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment