-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (52 loc) · 2.06 KB
/
Copy pathindex.html
File metadata and controls
62 lines (52 loc) · 2.06 KB
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
59
60
61
62
---
layout: default
title: Home
description: Ideas, essays, and projects by Cüppa. Latest writing on technology, health, and privacy.
---
<div class="wrap">
<p class="muted font-ui">Latest</p>
{% assign latest_note = site.writing.first %}
{% if latest_note %}
<div>
<a href="{{ latest_note.url | relative_url }}" class="plain">
<h2>{{ latest_note.title }}</h2>
<div class="metadata muted small pb font-ui internal-link">
<time datetime="{{ latest_note.date_priority | date: '%Y-%m-%d' }}">{{ latest_note.date_priority | date: "%B %d, %Y" }}</time>
{% if latest_note.tags.size > 0 %}
· <span title="tags">{{ latest_note.tags | join: ', ' }}</span>
{% endif %}
· <span class="reading-time">{{ latest_note.content | reading_time }}</span>
</div>
{% if latest_note.description %}
<div class="small muted internal-link">
{{ latest_note.description }} Keep reading →
</div>
{% endif %}
</a>
</div>
{% endif %}
<hr class="mn2 ms2">
<p class="muted font-ui"><a href="{{ '/topics' | relative_url }}" class="muted internal-link">Topics</a></p>
{% assign all_tags = site.writing | map: 'tags' | flatten | uniq | sort %}
<div class="line-height-loose">
{% for tag in all_tags %}
<a href="{{ '/topics/' | relative_url }}{{ tag | slugify }}" class="internal-link">{{ tag }}</a>{% unless forloop.last %}<span class="muted">,</span>{% endunless %}
{% endfor %}
</div>
<hr class="mn2 ms2">
<p class="muted font-ui"><a href="{{ '/writing' | relative_url }}" class="muted internal-link">Writing</a></p>
<ul class="list-plain tabular-nums">
{% for note in site.writing %}
<li>
<a href="{{ note.url | relative_url }}" class="internal-link plain">
<div class="flex align-baseline">
<span class="muted ppr flex-shrink small nowrap font-ui ssr mh">
{{ note.date_priority | date: "%Y · %m" }}
</span>
<u class="text-truncate">{{ note.title }}</u>
</div>
</a>
</li>
{% endfor %}
</ul>
</div>