Move to 'journal'
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
title: "Dispatch #1 (March 2023)"
|
title: "Dispatch #1 (March 2023)"
|
||||||
date: 2023-03-02T12:18:17-05:00
|
date: 2023-03-02T12:18:17-05:00
|
||||||
draft: false
|
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.
|
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.
|
||||||
@@ -2,6 +2,7 @@ body {
|
|||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
padding: 50px;
|
padding: 50px;
|
||||||
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3 {
|
h1, h2, h3 {
|
||||||
|
|||||||
@@ -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 }}
|
|
||||||
|
|||||||
@@ -1,8 +1 @@
|
|||||||
{{ define "main" }}
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<h2>{{ .Title }}</h2>
|
|
||||||
<h3>{{ .Date | time.Format "2006-01-02" }}</h3>
|
|
||||||
|
|
||||||
{{ .Content }}
|
|
||||||
{{ end }}
|
|
||||||
|
|||||||
@@ -4,14 +4,22 @@
|
|||||||
<section>
|
<section>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
{{ range (where .Site.RegularPages "Type" "in" "posts") }}
|
<h3>
|
||||||
<h3>
|
<a href="/journal">Journal</a>
|
||||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
</h3>
|
||||||
{{ .Date | time.Format "(2006-01-02)" }}
|
|
||||||
</h3>
|
|
||||||
|
|
||||||
{{ .Summary }}
|
<ul>
|
||||||
{{ end }}
|
{{ 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>
|
</section>
|
||||||
|
|
||||||
{{- partial "pinboard.html" . -}}
|
{{- partial "pinboard.html" . -}}
|
||||||
|
|||||||
12
themes/v2/layouts/journal/list.html
Normal file
12
themes/v2/layouts/journal/list.html
Normal file
@@ -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 }}
|
||||||
19
themes/v2/layouts/journal/single.html
Normal file
19
themes/v2/layouts/journal/single.html
Normal file
@@ -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 }}
|
||||||
Reference in New Issue
Block a user