-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (27 loc) · 903 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
24
25
26
27
28
---
layout: default
---
<div class="home">
<ul class="post-list">
{% for post in site.posts %}
<li>
<h1>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h1>
<span class="post-meta"
>{{ post.date | date: "%b %-d, %Y" }} {% if post.last_modified_at %} | Last updated: {{
post.last_modified_at | date: "%b %-d, %Y" }} {% endif %}
</span>
<div class="content">
{% if post.description %} {{ post.description }} {% else %} {{ post.excerpt }} {% endif %} {% if post.image %}
<div class="post-img">
<a href="{{ post.url | prepend: site.baseurl }}">
<img src="{{post.image}}" alt="{{ post.image-alt | default: 'Article image representation' }}" />
</a>
</div>
{% endif %}
</div>
</li>
{% endfor %}
</ul>
</div>