-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (26 loc) · 1.27 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
---
layout: default
---
{% include header.html %}
<main>
<div class="home wrapper">
{% for post in site.posts limit:0 %}
{% include postContent.html title=post.title date=post.date content=post.content url=post.url %}
<div class="post-break"></div>
{% endfor %}
<div class="post-list">
{% for post in site.posts offset:0 %}
<article class="post-list-item">
<div class="post-list-date"><time datetime="{{ post.date | date: "%FT%T%:z" }}">{{ post.date | date: "%b %-d, %Y" }}</time></div>
<div class="post-list-icon"><img src="{% if post.icon %}{{ post.icon | prepend: '/assets/images/' }}{% else %}/assets/images/not-found.svg{% endif %}" /></div>
{% if post.externalUrl %}
<div class="post-list-title"><a class="post-list-link" href="{{ post.externalUrl }}" rel=”noopener”>{{ post.title }}</a></div>
{% else %}
<div class="post-list-title"><a class="post-list-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></div>
{% endif %}
</article>
{% endfor %}
</div>
</div>
</main>
{% include footer.html %}