blob: 05eebe7ae2f89a7a958ff08e7bd29ef25460fa88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<link rel="stylesheet" href="style.css">
<form id="search" method="get" action="https://google.com/search">
<input type="text" placeholder="search" name="q" spellcheck="false" autocomplete="off">
<input type="hidden" name="q" value="site:{{ site.domain }}">
<input type="submit">
</form>
<table id="posts" class="plainlink">
<tr>
<th><a href="by-date" class="{% if include.sort == "date" %}sortcolumn{% endif %}">date</a></th>
<th><a href="by-title" class="{% if include.sort == "title" %}sortcolumn{% endif %}">title</a></th>
</tr>
{% assign posts = site.items | post_sort: include.sort %}
{% for post in posts %}
<tr>
<td>{{ post.date | datefmt }}</td>
<td><a href="{{ post.url }}">{{ post.title }}</a></td>
</tr>
{% endfor %}
</table>
|