Skip to content

Instantly share code, notes, and snippets.

@michaelgugino
Last active September 15, 2017 12:40
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 michaelgugino/cd4bdb904902e0834c968237ae8691d8 to your computer and use it in GitHub Desktop.
Save michaelgugino/cd4bdb904902e0834c968237ae8691d8 to your computer and use it in GitHub Desktop.
parent:
{% for item in childern %}
name: {{ item.name }}
port: {% if item.proto == 'https' %}443{% else %}80{% endif %}
things:
{% for t in item.things %}
- prepend-something{{ t }}
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment