-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes.html
More file actions
54 lines (48 loc) · 1.95 KB
/
notes.html
File metadata and controls
54 lines (48 loc) · 1.95 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
---
layout: default
title: Notes Garden
permalink: /notes/
---
{% include nav.html %}
<div class="notes-index row-wrap">
<header class="page-header">
<h1>Digital Garden</h1>
<div class="garden-callout">
A collection of atomic notes — interconnected thoughts, concepts, and ideas that grow and evolve over time.
<b>Unlike traditional blog posts, these notes are living documents.</b> They are updated as our understanding
evolves, cross-referenced to show connections between ideas, and designed to be explored non-linearly.
</div>
</header>
<section class="notes-list">
{% assign sorted_notes = site.notes | where_exp: "item", "item.published != false" | sort: 'updated' | reverse %}
{% for note in sorted_notes %}
<a href="{{ note.url | relative_url }}" class="note-preview-link">
<article class="note-preview">
<h2 class="note-preview-title">{{ note.title }}</h2>
{% if note.summary %}
<p class="note-preview-excerpt">{{ note.summary }}</p>
{% elsif note.excerpt %}
<p class="note-preview-excerpt">{{ note.excerpt | strip_html | truncate: 100 }}</p>
{% endif %}
{% assign display_date = note.updated | default: note.date %}
<div class="note-preview-date-line">
<time datetime="{{ display_date | date_to_xmlschema }}">
{{ display_date | date: "%b %d, %Y" }}
</time>
{% if note.authors %}
<span class="authors">• {{ note.authors | join: ", " }}</span>
{% endif %}
</div>
<div class="note-preview-meta">
{% if note.status %}
{% include status-badge.html status=note.status %}
{% endif %}
{% if note.attribution %}
{% include attribution-badge.html attribution=note.attribution %}
{% endif %}
</div>
</article>
</a>
{% endfor %}
</section>
</div>