-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (67 loc) · 2.09 KB
/
index.html
File metadata and controls
74 lines (67 loc) · 2.09 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
63
64
65
66
67
68
69
70
71
72
73
74
---
layout: default
title: Home
permalink: /
---
<section class="home-hero">
<div class="hero-kicker">
<span>Lab Notes</span>
<span>Vol. I</span>
</div>
<h1 class="hero-headline">
<span class="hero-line">Lab</span>
<span class="hero-line ghost">Notes.</span>
</h1>
<div class="hero-strip">
<div class="hero-strip-item">
<span class="label">Focus</span>
Methodological reflection on lab-based research
</div>
<div class="hero-strip-item">
<span class="label">Scope</span>
Humanities & social sciences
</div>
<div class="hero-strip-item">
<span class="label">Format</span>
Open peer review
</div>
</div>
</section>
<section class="listing-section">
<div class="section-head">
<span class="section-label">Recent notes</span>
<a href="{{ '/notes/' | relative_url }}" class="section-action">View all →</a>
</div>
{% assign items = site.notes | sort: "date" | reverse %}
{% if items and items.size > 0 %}
<div class="notes-grid">
{% for post in items limit:6 %}
<article class="note-card">
<div class="note-card-meta">
<span>{{ post.date | date: "%Y-%m-%d" }}</span>
{% if post.authors %}
<span>{{ post.authors | join: ", " }}</span>
{% endif %}
</div>
<h2 class="note-card-title">
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
</h2>
{% if post.summary %}
<p class="note-card-summary">{{ post.summary }}</p>
{% else %}
<p class="note-card-summary">{{ post.excerpt | strip_html | truncate: 220 }}</p>
{% endif %}
{% if post.tags %}
<div class="note-card-tags">
{% for tag in post.tags %}
<span>{{ tag }}</span>{% unless forloop.last %}<span class="tag-sep"> · </span>{% endunless %}
{% endfor %}
</div>
{% endif %}
</article>
{% endfor %}
</div>
{% else %}
<div class="empty-state">No notes yet.</div>
{% endif %}
</section>