commit 52fc1f6956c6319931db18eb252aef7da5b6882c
parent 5db4be1d70e6189e885f62afa89b4b4d642c65af
Author: David Eisinger <[email protected]>
Date: Thu, 2 Mar 2023 22:33:20 -0500
Move to 'journal'
Diffstat:
8 files changed, 75 insertions(+), 51 deletions(-)
diff --git a/content/journal/dispatch-1-march-2023.md b/content/journal/dispatch-1-march-2023.md
@@ -0,0 +1,28 @@
+---
+title: "Dispatch #1 (March 2023)"
+date: 2023-03-02T12:18:17-05:00
+draft: false
+tags:
+- dispatch
+---
+
+With the warm winter we've been having in NC, I've gotten to take Nev to and from daycare on the e-bike a whole bunch, which has been just fantastic. I'm wary of becoming too much of an evangelist, but it really does feel like they can replace cars for a lot of folks, and they're fun as hell.
+
+<!--more-->
+
+This month:
+
+* Adventure: glamping with Claire, Nev, and Steve
+* Project: rebuild shelves in bedroom closet
+* Skill: [Affinity Designer](https://affinity.serif.com/en-us/designer/)
+
+Reading:
+
+* Fiction: [_Burner_](https://bookshop.org/p/books/burner-mark-greaney/18519742), Mark Greaney
+* Non-fiction: [_The Power of Habit_](https://bookshop.org/p/books/the-power-of-habit-why-we-do-what-we-do-in-life-and-business-charles-duhigg/7843601), Charles Duhigg
+
+Links:
+
+* [Electric Bike, Stupid Love of My Life — by Craig Mod](https://craigmod.com/essays/electric_bikes/)
+* [Programming is a Pop Culture – Baldur Bjarnason](https://www.baldurbjarnason.com/2022/programming-is-a-pop-culture/)
+* [Julia Cameron Wants You to Do Your Morning Pages - The New York Times](https://www.nytimes.com/2019/02/02/style/julia-cameron-the-artists-way.html)
diff --git a/content/posts/dispatch-1-march-2023.md b/content/posts/dispatch-1-march-2023.md
@@ -1,26 +0,0 @@
----
-title: "Dispatch #1 (March 2023)"
-date: 2023-03-02T12:18:17-05:00
-draft: false
----
-
-With the warm winter we've been having in NC, I've gotten to take Nev to and from daycare on the e-bike a whole bunch, which has been just fantastic. I'm wary of becoming too much of an evangelist, but it really does feel like they can replace cars for a lot of folks, and they're fun as hell.
-
-<!--more-->
-
-This month:
-
-* Adventure: glamping with Claire, Nev, and Steve
-* Project: rebuild shelves in bedroom closet
-* Skill: [Affinity Designer](https://affinity.serif.com/en-us/designer/)
-
-Reading:
-
-* Fiction: [_Burner_](https://bookshop.org/p/books/burner-mark-greaney/18519742), Mark Greaney
-* Non-fiction: [_The Power of Habit_](https://bookshop.org/p/books/the-power-of-habit-why-we-do-what-we-do-in-life-and-business-charles-duhigg/7843601), Charles Duhigg
-
-Links:
-
-* [Electric Bike, Stupid Love of My Life — by Craig Mod](https://craigmod.com/essays/electric_bikes/)
-* [Programming is a Pop Culture – Baldur Bjarnason](https://www.baldurbjarnason.com/2022/programming-is-a-pop-culture/)
-* [Julia Cameron Wants You to Do Your Morning Pages - The New York Times](https://www.nytimes.com/2019/02/02/style/julia-cameron-the-artists-way.html)
diff --git a/themes/v2/assets/css/style.scss b/themes/v2/assets/css/style.scss
@@ -2,6 +2,7 @@ body {
font-family: monospace;
font-size: 18px;
padding: 50px;
+ line-height: 1.5em;
}
h1, h2, h3 {
diff --git a/themes/v2/layouts/_default/list.html b/themes/v2/layouts/_default/list.html
@@ -1,12 +1 @@
-{{ define "main" }}
- <section>
- <hr>
- {{ range (where .Site.RegularPages "Type" "in" "posts") }}
- <h3>
- <a href="{{ .Permalink }}">{{ .Title }}</a>
- {{ .Date | time.Format "(2006-01-02)" }}
- </h3>
- {{ end }}
- </section>
-{{ end }}
diff --git a/themes/v2/layouts/_default/single.html b/themes/v2/layouts/_default/single.html
@@ -1,8 +1 @@
-{{ define "main" }}
- <hr>
- <h2>{{ .Title }}</h2>
- <h3>{{ .Date | time.Format "2006-01-02" }}</h3>
-
- {{ .Content }}
-{{ end }}
diff --git a/themes/v2/layouts/index.html b/themes/v2/layouts/index.html
@@ -4,14 +4,22 @@
<section>
<hr>
- {{ range (where .Site.RegularPages "Type" "in" "posts") }}
- <h3>
- <a href="{{ .Permalink }}">{{ .Title }}</a>
- {{ .Date | time.Format "(2006-01-02)" }}
- </h3>
+ <h3>
+ <a href="/journal">Journal</a>
+ </h3>
- {{ .Summary }}
- {{ end }}
+ <ul>
+ {{ range (where .Site.RegularPages "Type" "in" "journal") }}
+ <li>
+ <p>
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ {{ .Date | time.Format "(2006-01-02)" }}
+ </p>
+
+ {{ .Summary }}
+ </li>
+ {{ end }}
+ </ul>
</section>
{{- partial "pinboard.html" . -}}
diff --git a/themes/v2/layouts/journal/list.html b/themes/v2/layouts/journal/list.html
@@ -0,0 +1,12 @@
+{{ define "main" }}
+ <section>
+ <hr>
+
+ {{ range (where .Site.RegularPages "Type" "in" "journal") }}
+ <h3>
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ {{ .Date | time.Format "(2006-01-02)" }}
+ </h3>
+ {{ end }}
+ </section>
+{{ end }}
diff --git a/themes/v2/layouts/journal/single.html b/themes/v2/layouts/journal/single.html
@@ -0,0 +1,19 @@
+{{ define "main" }}
+ <hr>
+
+ <h2>{{ .Title }}</h2>
+
+ <h3>
+ Posted {{ .Date | time.Format "January 1, 2006" }}
+
+ {{ if .Params.tags }}
+ under
+
+ {{ range .Params.tags }}
+ <a href="/tags/{{ . | urlize }}">#{{ . }}</a>
+ {{ end }}
+ {{ end }}
+ </h3>
+
+ {{ .Content }}
+{{ end }}