-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
23 lines (23 loc) · 958 Bytes
/
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
---
layout: default
card: false
---
<div class="front-page-card">
{% for posts in site.posts %}
<div class="mdc-card">
{% if posts.img %}<section class="mdc-card__media" style="background-image: url({{ posts.img | relative_url }}); height:{{ posts.imgheight }};"></section>{% endif %}
<div class="inner-card">
<section class="mdc-card__primary">
<h1 class="mdc-typography--headline5 card-title no-margin">{{ posts.title }}</h1>
<h2 class="mdc-typography--subtitle2 card-gray no-margin">{{ posts.date | date: "%d %b %Y" }}</h2>
</section>
<section class="mdc-card__supporting-text">
{{ posts.support }}
</section>
<section class="mdc-card__actions">
<a href="{{ posts.url | relative_url }}"><button class="mdc-button mdc-button--compact mdc-card__action mdc-ripple-surface">Read more</button></a>
</section>
</div>
</div>
{% endfor %}
</div>