Add blog posts (+ write first one)

This commit is contained in:
David Eisinger
2023-03-02 12:39:47 -05:00
parent 4ba1cdb37e
commit 5db4be1d70
8 changed files with 87 additions and 2 deletions

24
archetypes/dispatch.md Normal file
View File

@@ -0,0 +1,24 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: false
---
Some thoughts here ...
**Adventure:**
**Project:**
**Skill:**
**Reading:**
* **Fiction:**
* **Non-fiction:**
**Links:**
* Blah
* Blah
* Blah

View File

@@ -1,4 +1,4 @@
## Software Developer, Durham NC
### Software Developer, Durham NC
I'm David, Development Director at [Viget][1]. Just getting started with a new [Hugo][2] site. More to come.

View File

@@ -0,0 +1,26 @@
---
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)

View File

@@ -6,9 +6,10 @@ body {
h1, h2, h3 {
font-size: 1em;
margin: 1em 0;
}
h2, h3 {
h3 {
color: #aaa;
}

View File

@@ -0,0 +1,12 @@
{{ 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 }}

View File

@@ -0,0 +1,8 @@
{{ define "main" }}
<hr>
<h2>{{ .Title }}</h2>
<h3>{{ .Date | time.Format "2006-01-02" }}</h3>
{{ .Content }}
{{ end }}

View File

@@ -1,5 +1,18 @@
{{ define "main" }}
{{ .Content }}
<section>
<hr>
{{ range (where .Site.RegularPages "Type" "in" "posts") }}
<h3>
<a href="{{ .Permalink }}">{{ .Title }}</a>
{{ .Date | time.Format "(2006-01-02)" }}
</h3>
{{ .Summary }}
{{ end }}
</section>
{{- partial "pinboard.html" . -}}
{{ end }}

View File

@@ -1,4 +1,5 @@
<footer>
<hr>
<a href="/index.xml">Feed</a>
Copyright &copy; {{ now.Format "2006" }} David Eisinger
</footer>