Skip to content

Instantly share code, notes, and snippets.

@hoosteeno
Created April 25, 2016 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hoosteeno/7d240b5f67a88bfbe33c72f990b886cb to your computer and use it in GitHub Desktop.
Save hoosteeno/7d240b5f67a88bfbe33c72f990b886cb to your computer and use it in GitHub Desktop.
---
model:
conferences: conferences
this_conf: berlin
---
<ul>
{% for conference in model.conferences %}
<li>
<a href="/{{ conference.folder }}">{{ conference.location }} - {{conference.date}}</a>
</li>
{% if conference.slug == this_conf %}
<h3>This is berlin</h3>
{% endif %}
{% endfor %}
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment