1
1
Fork 0
portfolio/layouts/index.html
2017-04-09 22:31:28 -05:00

31 lines
894 B
HTML

{{> header }}
<header class="grid" id="home">
<div class="grid__col grid__col--1-of-2">
{{{ contents }}}
</div>
<img id="logo" class="grid__col grid__col--1-of-2" src="../../assets/site/logo.png" alt="" />
</header>
<ul class="posts grid">
{{#each collections.posts as |post|}}
<li data-type="{{ post.type }}" class="grid__col grid__col--1-of-3 grid__col--m-1-of-2 grid__col--s-1-of-1">
<figure onclick="window.location = '{{ post.path }}'">
<div class="preview" style="background-image: url(../../assets/media/{{ post.preview }})">
<h3>{{ post.title }}</h3>
</div>
<figcaption>
{{ post.description }}
<footer>
{{ post.client }}
<span class="secondary">
Continue...
</span>
</footer>
</figcaption>
</figure>
{{/each}}
</ul>
{{> footer }}