-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathindex.html
43 lines (40 loc) · 1.54 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
layout: default
custom_js:
- search.js
---
<div class="home">
<input id="nav-trigger" class="nav-trigger" type="checkbox">
{% include search.html %}
<ul id="container" class="post-list js-packery"
data-packery-options='{ "itemSelector": ".item" }'>
{% for post in site.posts %}
<li class="carditem item{% if post.size > 1 %} {{ post.size }}{% endif %}" id="{{ post.id | slugify }}">
<div class="card">
<div class="card-image {{ post.color }}">
<a href="{{ post.url | prepend: site.baseurl }}">
{% if post.image %}
<img class="card-back" src="{{ post.image}}" alt="case study image"/>
<span class="card-title">
<span class="card-date">{{ post.date | date: "%b %-d, %Y" }}</span>
{{ post.title }}
</span>
{% else %}
<span class="card-title inline">
<span class="card-date">{{ post.date | date: "%b %-d, %Y" }}</span>
{{ post.title }}
</span>
{% endif %}
</a>
</div>
<div class="card-content">
{{ post.excerpt | strip_html }}<p><a href="{{ post.url | prepend: site.baseurl }}">Read the full article</a></p>
</div>
</div>
</li>
{% endfor %}
</ul>
<div class="row" id="no-results" style="display:none">
<div class="col s12">No matches were found for your search criteria. Please adjust your criteria and try again.</div>
</div>
</div>