Skip to content

Latest commit

 

History

History
61 lines (60 loc) · 2.09 KB

sgam_by_project.md

File metadata and controls

61 lines (60 loc) · 2.09 KB
layout
minimal
{% for project in site.data.projects %}
Smart Grid Plane (SGAM) mapping for {{ project['Name']}}
 
{% for domain in site.data.sgam.domains %}
{% if domain.image %} {% endif %}
{{ domain.name }} {{ domain.description }}
{% endfor %} {% for zone in site.data.sgam.zones %}
{% if zone.image %} {% endif %}
{{ zone.name }} {{ zone.description }}
{% endfor %} {% assign grid-column-start = 5 %} {% assign grid-column-end = 1 %} {% for domain in site.data.sgam.domains %} {% if project['Categories'] contains domain.name %} {% if forloop.index < grid-column-start %} {% assign grid-column-start = forloop.index %} {% endif %} {% if forloop.index > grid-column-end %} {% assign grid-column-end = forloop.index %} {% endif %} {% endif %} {% endfor %} {% assign grid-row-start = 5 %} {% assign grid-row-end = 1 %} {% for zone in site.data.sgam.zones %} {% if project['Categories'] contains zone.name %} {% if forloop.index < grid-row-start %} {% assign grid-row-start = forloop.index %} {% endif %} {% if forloop.index > grid-row-end %} {% assign grid-row-end = forloop.index %} {% endif %} {% endif %} {% endfor %}
{% endfor %}