-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (56 loc) · 1.69 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
layout : layout
title : pointless and uncaring
---
<ul class="posts">
{% for post in site.posts limit:5 %}
<li>
<div class="idea">
{% if forloop.first and post.layout == "post" %}
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
<div class="postdate">{{ post.date | date: "%e %B, %Y" }}
<ul>
{% for tag in post.tags %}
<li><a href="/tag/{{ tag }}">{{ tag }}</a></li>
{% endfor %}
</ul>
</div>
{{ post.content }}
{% for image in post.images limit:5 %}
<li><a href="{{ image.src }}">
{{ image.caption }}<br/>
<img alt="{{ image.alttext }}" src="https://images.weserv.nl/?w=650&url={{ image.src }}">
</a></li>
{% endfor %}
<br />
<a href="{{ post.url}}#disqus_thread">Comments</a>
{% else %}
<h2><a class="postlink" href="{{ post.url }}">{{ post.title }}</a></h2>
<div class="postdate">{{ post.date | date: "%e %B, %Y" }}
<ul>
{% for tag in post.tags %}
<li><a href="/tag/{{ tag }}">{{ tag }}</a></li>
{% endfor %}
</ul>
</div>
{{ post.content }}
{% for image in post.images limit:3 %}
<li><a href="{{ image.src }}">
{{ image.caption }}<br/>
<img alt="{{ image.alttext }}" src="https://images.weserv.nl/?w=650&url={{ image.src }}">
</a></li>
{% endfor %}
<a href="{{ post.url }}#disqus_thread">Comments</a>
{% endif %}
</div>
</li>
{% endfor %}
</ul>
<h3>OLDER</h3>
<ul class="postArchive">
{% for post in site.posts offset:5 %}
<li>
<span class="olderpostdate"> {{ post.date | date: "%d %b" }} </span> <a class="postlink" href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>