Design systems, not pictures
https://github.com/pattern-lab/patternlab-php
by {{ author.first-name }} {{ author.last-name }}
<div class="block block-thumb">
<a href="{{ url }}" class="b-inner">
<div class="b-thumb">
{{> atoms-square }}
</div>
<div class="b-text">
<h2 class="headline">{{ headline.short }}</h2>
<p>{{ excerpt.medium }}</p>
</div>
</a>
</div>
{{> atoms-square }} actually embeds:
source/_patterns/00-atoms/04-images/03-square.mustache
<div class="g g-3up">
{{# touts}}
<div class="gi">
{{> molecules-inset-block }}
</div>
{{/ touts}}
</div>
Loops through "touts" object in source/_patterns/04-pages/00-homepages.json and passes each object to the source/_patterns/01-molecules/02-blocks/05-inset-block.mustache template
{
"el": ".logo",
"title" : "Logo",
"comment": "The logo image is an SVG file, which ensures blah."
}