Tag pages

This commit is contained in:
David Eisinger
2023-03-02 22:45:29 -05:00
parent 52fc1f6956
commit 5d37de8334
4 changed files with 42 additions and 6 deletions

View File

@@ -4,6 +4,7 @@ date: 2023-03-02T12:18:17-05:00
draft: false draft: false
tags: tags:
- dispatch - dispatch
- ebikes
--- ---
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.

View File

@@ -0,0 +1,15 @@
{{ define "main" }}
<section>
<hr>
<h3>#{{ .Title }}</h3>
<ul>
{{ range .RegularPages }}
<li>
<a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a>
</li>
{{ end }}
</ul>
</section>
{{ end }}

View File

@@ -0,0 +1,16 @@
{{ define "main" }}
<section>
<hr>
<h3>{{ .Title }}</h3>
<ul>
{{ range .Data.Terms.Alphabetical }}
<li>
<a href="{{ .Page.Permalink }}">#{{ .Page.Title }}</a>
({{ .Count }})
</li>
{{ end }}
</ul>
</section>
{{ end }}

View File

@@ -2,11 +2,15 @@
<section> <section>
<hr> <hr>
{{ range (where .Site.RegularPages "Type" "in" "journal") }} <h3>Journal</h3>
<h3>
<a href="{{ .Permalink }}">{{ .Title }}</a> <ul>
{{ .Date | time.Format "(2006-01-02)" }} {{ range (where .Site.RegularPages "Type" "in" "journal") }}
</h3> <li>
{{ end }} <a href="{{ .Permalink }}">{{ .Title }}</a>
{{ .Date | time.Format "(2006-01-02)" }}
</li>
{{ end }}
</ul>
</section> </section>
{{ end }} {{ end }}