Skip to content

Commit ea35d57

Browse files
committed
Improve archetypes
1 parent 9a8b303 commit ea35d57

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

β€Žarchetypes/essays.mdβ€Ž

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
---
2-
title: "{{ replace .Name "-" " " | title }}"
2+
title: "{{ .Name | humanize | title }}"
33
date: {{ .Date }}
44
draft: true
55
tags:
6-
- essays # Default tag
6+
- "essays" {{/* πŸ‘ˆπŸΌ Default tag */}}
77
slug: "{{ .Name | urlize }}"
8-
aliases:
9-
# Alias for /essays/NUMBER/
10-
- "/essays/{{ .Name }}/"
11-
# Alias for /essays/SLUG/
12-
- "/essays/{{ .Name | urlize }}/"
138
---

β€Žarchetypes/thoughts.mdβ€Ž

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
---
2-
title: "{{ replace .Name "-" " " | title }}"
2+
title: "{{ replaceRE `^[^-]+-(.+)` `$1` .Name | humanize | title }}"
3+
{{/* πŸ‘†πŸΌ title Extracts the portion of the filename after the first hyphen and converts it into title case.*/}}
34
date: {{ .Date }}
45
draft: true
56
tags:
6-
- thoughts # Default tag
7-
slug: "{{ .Name | urlize }}"
7+
- "thoughts" {{/* πŸ‘ˆπŸΌ Default tag */}}
8+
slug: "{{ replaceRE `^[^-]+-(.+)` `$1` .Name | urlize }}"
9+
{{/* πŸ‘†πŸΌ slug Extracts the portion of the filename after the first hyphen and converts it into a URL-friendly format. */}}
810
aliases:
9-
# Alias for /thoughts/NUMBER/
10-
- "/thoughts/{{ .Name }}/"
11-
# Alias for /thoughts/SLUG/
12-
- "/thoughts/{{ .Name | urlize }}/"
13-
description: # Add a short description of the post here. This will be used for SEO and social media sharing on Facebook, Twitter, etc.
11+
- "/thoughts/{{ index (split .Name "-") 0 }}/" {{/* πŸ‘ˆπŸΌ Alias for /thoughts/NUMBER/ */}}
12+
description: {{/* πŸ‘ˆπŸΌ description Add a short description of the post here. This will be used for SEO and social media sharing on Facebook, Twitter, etc. */}}
1413
---
1514

β€Žcontent/en-gb/thoughts/2-post-expertise-scarcity/index.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ When I read this idea from _Deep Work_, I was struck by how insightful it was. I
3535

3636
## Post Expertise Scarcity
3737

38-
What if I told you that you can ask deep questions in any topic and receive deep answers with citations in a matter of minutes? That reality is already here today, and it has many names: DeepSeek R1, ChatGPT, Claude, Perplexity, etc., ad nauseam.
38+
What if I told you that you can ask deep questions in any topic and receive deep answers with citations in a matter of minutes, often just a few seconds? That reality is already here today, and it has many names: DeepSeek R1, ChatGPT, Claude, Perplexity, etc., ad nauseam.
3939

4040
Don't get me wrong. I'm fully aware that these systems are not perfect. Far from perfect, they are also hilariously wrong at times. But that doesn't matter, and here is why:
4141

0 commit comments

Comments
Β (0)