Skip to content

Commit 82b3036

Browse files
committed
Add blurbs
1 parent d458219 commit 82b3036

36 files changed

Lines changed: 7 additions & 74 deletions

src/_includes/_head.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@
44
<title>{% if title %}{{ title }} | {% endif %}{{ metadata.title }}</title>
55

66
<!-- SEO Meta Tags -->
7-
{% assign pageDescription = blurb | default: metadata.description %}
7+
{% if blurb %}
8+
{% assign pageDescription = blurb %}
9+
{% elsif tags contains 'microblog' %}
10+
{% assign pageDescription = content | autoBlurb %}
11+
{% else %}
12+
{% assign pageDescription = metadata.description %}
13+
{% endif %}
814
{% assign pageTitle = title | default: metadata.title %}
915
{% assign canonicalUrl = metadata.baseURL | append: page.url %}
1016
{% if image %}{% assign imageUrl = metadata.baseURL | append: image %}{% endif %}

src/admin/config.yml

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ collections:
1717
fields:
1818
- {label: "Title", name: "title", widget: "string"}
1919
- {label: "Date", name: "date", widget: "datetime", time_format: false}
20-
- {label: "Date String", name: "date_str", widget: "string", hint: "e.g. Aug 4, 2022"}
2120
- {label: "Tags", name: "tags", widget: "hidden", default: "blog"}
2221
- {label: "Image", name: "image", widget: "image", required: false}
23-
- {label: "Small Image", name: "small_image", widget: "boolean", default: true, required: false}
2422
- {label: "Alt Text", name: "alt", widget: "string", required: false}
2523
- {label: "Blurb", name: "blurb", widget: "text", required: false}
2624
- {label: "Body", name: "body", widget: "markdown"}
@@ -33,27 +31,12 @@ collections:
3331
fields:
3432
- {label: "Title", name: "title", widget: "string"}
3533
- {label: "Date", name: "date", widget: "datetime", time_format: false}
36-
- {label: "Date String", name: "date_str", widget: "string", hint: "e.g. Nov 06, 2023"}
3734
- {label: "Tags", name: "tags", widget: "hidden", default: "microblog"}
3835
- {label: "Image", name: "image", widget: "image", required: false}
39-
- {label: "Small Image", name: "small_image", widget: "boolean", default: false, required: false}
4036
- {label: "Alt Text", name: "alt", widget: "string", required: false}
4137
- {label: "Blurb", name: "blurb", widget: "text", required: false}
4238
- {label: "Body", name: "body", widget: "markdown"}
4339

44-
- name: "professional"
45-
label: "Professional Experience"
46-
folder: "src/professional"
47-
create: true
48-
slug: "{{slug}}"
49-
fields:
50-
- {label: "Title", name: "title", widget: "string"}
51-
- {label: "Date", name: "date", widget: "datetime", time_format: false}
52-
- {label: "Date String", name: "date_str", widget: "string", hint: "e.g. Mar 2023 - May 2021"}
53-
- {label: "Tags", name: "tags", widget: "hidden", default: ["professional"]}
54-
- {label: "Permalink", name: "permalink", widget: "boolean", default: false}
55-
- {label: "Body", name: "body", widget: "markdown"}
56-
5740
- name: "research"
5841
label: "Research"
5942
folder: "src/research"
@@ -63,7 +46,6 @@ collections:
6346
- {label: "Title", name: "title", widget: "string"}
6447
- {label: "Collaborators", name: "collaborators", widget: "list", required: false}
6548
- {label: "Date", name: "date", widget: "datetime", time_format: false}
66-
- {label: "Date String", name: "date_str", widget: "string", hint: "e.g. 2024"}
6749
- {label: "Tags", name: "tags", widget: "hidden", default: ["research"]}
6850
- {label: "Blurb", name: "blurb", widget: "text", required: false}
6951
- label: "Links"
@@ -76,15 +58,6 @@ collections:
7658
- {label: "Icon Image", name: "image", widget: "string"}
7759
- {label: "Body", name: "body", widget: "markdown"}
7860

79-
- name: "education"
80-
label: "Education"
81-
folder: "src/education"
82-
create: true
83-
slug: "{{slug}}"
84-
fields:
85-
- {label: "Title", name: "title", widget: "string"}
86-
- {label: "Body", name: "body", widget: "markdown"}
87-
8861
- name: "writings"
8962
label: "Writings"
9063
folder: "src/writings"
@@ -93,21 +66,9 @@ collections:
9366
fields:
9467
- {label: "Title", name: "title", widget: "string"}
9568
- {label: "Date", name: "date", widget: "datetime", time_format: false}
96-
- {label: "Date String", name: "date_str", widget: "string", hint: "e.g. Oct 25, 2020"}
9769
- {label: "Image", name: "image", widget: "image", required: false}
98-
- {label: "Small Image", name: "small_image", widget: "boolean", default: true, required: false}
9970
- {label: "Alt Text", name: "alt", widget: "string", required: false}
10071
- {label: "Tags", name: "tags", widget: "hidden", default: ["writings"]}
10172
- {label: "External URL", name: "url", widget: "string", required: false, hint: "Link to external publication"}
10273
- {label: "Permalink", name: "permalink", widget: "boolean", default: false}
10374
- {label: "Body", name: "body", widget: "markdown", required: false}
104-
105-
- name: "pages"
106-
label: "Pages"
107-
files:
108-
- label: "Now Page"
109-
name: "now"
110-
file: "src/now.md"
111-
fields:
112-
- {label: "Title", name: "title", widget: "string"}
113-
- {label: "Body", name: "body", widget: "markdown"}

src/blog/accidental.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ date: 2019-05-19
55
image: /assets/blog/plant.jpg
66
alt: Plant in a glass jar in a corner in an otherwise white, minimal backdrop.
77
blurb: At the very least, it is clear that the developed world needs to drastically change its consumption habits, one Konmari fan at a time.
8-
small_image: true
98
---
109

1110
<p>The Green New Deal is still a hot topic in politics, which is remarkable considering that conservation biologists, climatologists, and <a href="https://youtu.be/JDcro7dPqpA?t=1108">Bill Nye</a> have been shouting into the void for what seems like an eternity. </p>

src/blog/bugs-from-korea.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ tags: blog
44
date: 2024-10-25
55
blurb: "Photos of insects I found during a sleepless night at a remote mountain campsite in South Korea."
66
image: "/assets/blog/bugs-from-korea/mountain.webp"
7-
small_image: true
87
---
98

109
Over the past summer, I went on a camping trip with my family to a remote mountain range in what is roughly at the center of South Korea. I couldn't fall asleep at the tent for the life of me, with the hard surface and noise from nocturnal singing bugs. So, I went out walking looking for bugs that are drawn by the light. I wasn't disappointed!

src/blog/deadinternet.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ tags: blog
44
date: 2023-01-06
55
alt: Document icons with popular file formats.
66
blurb: Do you know that your embarassing creations meant a lot to me?
7-
small_image: true
87
---
98

109
Some time ago, I stumbled upon a band. They released two albums to little fanfare, then disappeared. I wondered what had happened to its members. They were certainly passionate people. Did their musical dreams blossom at all, under different identities?

src/blog/flatfile.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ date: 2022-12-28
55
image: /assets/blog/flatfile.jpg
66
alt: Document icons with popular file formats.
77
blurb: Over the years, I've grown increasingly wary of using any application that stores its data in a nonstandard format or in a relational database.
8-
small_image: true
98
---
109

1110
Over the years, I've grown increasingly wary of using any application that stores its data in a nonstandard format or in a relational database.

src/blog/mediocrity.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ date: 2019-08-16
55
image: /assets/blog/4thplace.jpg
66
alt: Scene from the film Fourth Place in which a swimming coach is hitting a boy with a broom.
77
blurb: Perhaps we should choose to appreciate a more abundant fact of live - mediocrity.
8-
small_image: true
98
---
109

1110
As someone who has academically excelled since a young age, the most difficult transition in college has been an acceptance in my mediocrity.

src/blog/minimalgaming.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ date: 2019-04-18
55
image: /assets/blog/egpu.jpg
66
alt: My gaming setup with a MacBook and an external graphics card.
77
blurb: New and exciting emerging technologies allow us to pack performance into an increasingly small footprint.
8-
small_image: true
98
---
109

1110
Can a gamer also be a minimalist? Of course. Gaming provides value in many of our lives, so many minimalists choose to keep it.

src/blog/naturewatching.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ date: 2019-04-26
55
image: /assets/blog/naturewatching.jpg
66
alt: A small, white flower, photographed on an iPhone.
77
blurb: Few activities brought me more joy than the simple act of observing and photographing wildlife in their natural habitat.
8-
small_image: true
98
---
109

1110
<p>A necessary counterpart to our modern lives is the reintroduction of the natural world. Few activities brought me more joy than the simple act of observing and photographing wildlife in their natural habitat. </p>

src/blog/onlinepresence.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ date: 2019-10-20
55
image: /assets/blog/profile.jpg
66
alt: Hand holding up a phone with Instagram on it.
77
blurb: I feel like there is an instinctual and incessant urge to publicize everything on the internet ingrained onto us.
8-
small_image: true
98
---
109

1110
I feel like there is an instinctual and incessant urge to publicize everything on the internet ingrained onto us. Personally, simply reading an opinionated post online can trigger a desire to make an account to deliver a clever rebuttal.

0 commit comments

Comments
 (0)