Skip to content

Commit 4ef0636

Browse files
committed
standardize authors
1 parent 3038de7 commit 4ef0636

6 files changed

Lines changed: 17 additions & 27 deletions

File tree

_includes/footer.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
<footer class="border-t border-gray-400">
2-
<div class="flex items-start justify-between gap-4 px-4 py-4 md:px-6">
1+
<footer class="flex items-start justify-between gap-4 px-4 py-4 md:px-6">
32
<div class="font-sans text-xs font-black bold uppercase tracking-wide">
4-
Support free &amp; open scholarship.
3+
Support free &amp; open scholarship.
54
</div>
65

76
<div class="font-mono text-xs leading-relaxed text-gray-500">
8-
{{ site.time | date: "%Y" }}
7+
{{ site.time | date: "%Y" }}
98
</div>
10-
</div>
119
</footer>

_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</a>
77
</div>
88

9-
<div class="text-gray-600 font-sans text-sm leading-[1.75]">
9+
<div class="text-gray-600 font-mono text-sm leading-[1.75]">
1010
A peer-reviewed journal on research design and method.
1111
</div>
1212
</div>

_includes/tags.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<div class="mt-2 flex flex-wrap gap-2">
66
{% for tag in tags %}
7-
<span class="border border-gray-300 px-2 py-[3px] font-mono text-[0.46rem] uppercase tracking-[0.08em]">
7+
<span class="border border-gray-300 px-2 py-[3px] font-mono text-[0.66rem] uppercase tracking-[0.08em]">
88
{{ tag }}
99
</span>
1010
{% endfor %}

_layouts/home.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,40 @@
22
layout: default
33
---
44

5-
<div class="mx-auto px-4 py-4 md:px-6 md:py-5">
5+
<div class="py-4 md:py-5">
66
{% include prose.html content=content %}
77
</div>
88

99
<!-- header -->
1010
<div class="flex items-baseline justify-between gap-4 px-4 py-3 md:px-6">
11-
{% include chip.html text="Recent ↓" %}
11+
{% include chip.html text="Recent ↓" %}
1212
{% include chip.html href="/notes/" text="View all →" %}
1313
</div>
1414

1515
{% assign items = site.notes | sort: "date" | reverse %}
1616
{% if items and items.size > 0 %}
1717

18-
<div class="grid grid-cols-1 md:grid-cols-3">
18+
<div class="grid grid-cols-1 md:grid-cols-2">
1919

2020
{% for post in items limit:6 %}
21-
<article class="min-h-72 px-4 py-5 md:px-6 md:border-r md:border-black/10 md:[&:nth-child(3n)]:border-r-0">
21+
<article class="min-h-72 px-4 py-5 md:px-6 md:border-r md:border-black/10 md:[&:nth-child(2n)]:border-r-0">
2222
<!-- meta -->
23-
<div class="mb-3 flex flex-wrap gap-x-3 gap-y-1 font-mono text-[0.66rem] leading-[1.65] text-gray-500">
23+
<div class="mb-3 flex flex-wrap gap-x-3 gap-y-1 font-mono text-sm leading-[1.65] text-gray-500">
2424
<span>{{ post.date | date: "%Y-%m-%d" }}</span>
25-
{% if post.authors %}
26-
<span>{{ post.authors | join: ", " }}</span>
27-
{% endif %}
2825
</div>
2926

3027
<!-- title -->
31-
<h2 class="mb-3 font-serif text-[1.5rem] leading-[0.98] tracking-[-0.03em]">
28+
<h2 class="mb-1 font-serif text-xl leading-[0.98] tracking-[-0.03em]">
3229
<a href="{{ post.url | relative_url }}" class="hover:text-red-600">
3330
{{ post.title }}
3431
</a>
3532
</h2>
3633

34+
<!-- authors-->
35+
{% include authors.html items=post.authors %}
36+
3737
<!-- summary -->
38-
<p class="mb-4 font-serif max-w-[40ch] text-[0.9rem] leading-[1.65] text-neutral-700">
38+
<p class="mb-4 ml-4 font-serif text-base leading-7 text-neutral-700">
3939
{% if post.summary %}
4040
{{ post.summary }}
4141
{% else %}

_layouts/note.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ <h1 class="max-w-2xl font-serif text-[clamp(1.9rem,3vw,2.6rem)] leading-snug tra
2020
</h1>
2121

2222
{% if page.authors %}
23-
<div class="mt-3 font-mono text-[0.72rem] uppercase tracking-[0.08em] text-gray-500">
24-
{% for author in page.authors %}
25-
<span>{{ author }}</span>{% unless forloop.last %}<span class="text-red-600"> · </span>{% endunless %}
26-
{% endfor %}
27-
</div>
23+
{% include authors.html items=page.authors %}
2824
{% endif %}
2925

3026

_layouts/notes.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ <h2 class="mb-1.5 font-sans text-[1.4rem] font-serif leading-[1] tracking-[-0.02
2828
</a>
2929
</h2>
3030

31-
<div class="mb-2 font-mono text-[0.68rem] uppercase tracking-[0.06em] leading-[1.7] text-gray-500">
32-
{% if post.authors %}
33-
<span>{{ post.authors | join: ", " }}</span>
34-
{% endif %}
35-
</div>
31+
{% include authors.html items=post.authors %}
3632

3733
{% if post.summary %}
3834
<p class="m-0 max-w-[54ch] text-[0.9rem] leading-[1.65] text-neutral-700">

0 commit comments

Comments
 (0)