aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/journal/2026/07/_index.md9
-rw-r--r--content/journal/2026/08/_index.md9
-rw-r--r--content/journal/2026/09/_index.md9
-rw-r--r--content/journal/2026/_index.md9
-rw-r--r--layouts/journal/list.html34
-rwxr-xr-xscripts/publish-raw5
6 files changed, 64 insertions, 11 deletions
diff --git a/content/journal/2026/07/_index.md b/content/journal/2026/07/_index.md
new file mode 100644
index 0000000..1b29568
--- /dev/null
+++ b/content/journal/2026/07/_index.md
@@ -0,0 +1,9 @@
+---
+title: "July 2026"
+lang: en
+url: "/journal/2026/07/"
+description: "Journal entries from July 2026."
+license: CC-BY-SA-4.0
+---
+
+Journal entries published in July 2026.
diff --git a/content/journal/2026/08/_index.md b/content/journal/2026/08/_index.md
new file mode 100644
index 0000000..415de46
--- /dev/null
+++ b/content/journal/2026/08/_index.md
@@ -0,0 +1,9 @@
+---
+title: "August 2026"
+lang: en
+url: "/journal/2026/08/"
+description: "Journal entries from August 2026."
+license: CC-BY-SA-4.0
+---
+
+Journal entries published in August 2026.
diff --git a/content/journal/2026/09/_index.md b/content/journal/2026/09/_index.md
new file mode 100644
index 0000000..be6fa08
--- /dev/null
+++ b/content/journal/2026/09/_index.md
@@ -0,0 +1,9 @@
+---
+title: "September 2026"
+lang: en
+url: "/journal/2026/09/"
+description: "Journal entries from September 2026."
+license: CC-BY-SA-4.0
+---
+
+Journal entries published in September 2026.
diff --git a/content/journal/2026/_index.md b/content/journal/2026/_index.md
new file mode 100644
index 0000000..d9bb59e
--- /dev/null
+++ b/content/journal/2026/_index.md
@@ -0,0 +1,9 @@
+---
+title: "2026"
+lang: en
+url: "/journal/2026/"
+description: "Journal entries from 2026."
+license: CC-BY-SA-4.0
+---
+
+Journal entries published in 2026.
diff --git a/layouts/journal/list.html b/layouts/journal/list.html
index dd486ac..4d74990 100644
--- a/layouts/journal/list.html
+++ b/layouts/journal/list.html
@@ -5,15 +5,29 @@
{{ partial "document-view.html" . }}
</header>
{{ .Content }}
- {{- $pages := where site.RegularPages "Section" "journal" -}}
- {{- $pages = $pages.ByDate.Reverse -}}
- <ol class="document-list journal-list">
- {{- range $pages }}
- <li>
- <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time>
- <a href="{{ .RelPermalink }}" lang="{{ .Params.lang }}">{{ .LinkTitle }}</a>
- </li>
- {{- end }}
- </ol>
+ {{- $sections := sort .Sections "RelPermalink" "desc" -}}
+ {{- with $sections }}
+ <section aria-labelledby="journal-sections-title">
+ <h2 id="journal-sections-title">{{ if $.Parent.IsHome }}YEARS{{ else }}MONTHS{{ end }}</h2>
+ <ul class="document-list">
+ {{- range . }}
+ <li><a href="{{ .RelPermalink }}" lang="{{ .Params.lang }}">{{ .LinkTitle }}</a></li>
+ {{- end }}
+ </ul>
+ </section>
+ {{- end }}
+ {{- with .RegularPagesRecursive.ByDate.Reverse }}
+ <section aria-labelledby="journal-entries-title">
+ <h2 id="journal-entries-title">ENTRIES</h2>
+ <ol class="document-list journal-list">
+ {{- range . }}
+ <li>
+ <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time>
+ <a href="{{ .RelPermalink }}" lang="{{ .Params.lang }}">{{ .LinkTitle }}</a>
+ </li>
+ {{- end }}
+ </ol>
+ </section>
+ {{- end }}
</article>
{{ end }}
diff --git a/scripts/publish-raw b/scripts/publish-raw
index 4bcdbe9..cc05958 100755
--- a/scripts/publish-raw
+++ b/scripts/publish-raw
@@ -20,11 +20,14 @@ do
journal/_index.md)
target=$public_dir/journal/_index.md
;;
+ journal/*/_index.md|journal/*/*/_index.md)
+ target=$public_dir/$relative
+ ;;
journal/*/*/*/*)
target=$public_dir/$relative
;;
journal/*)
- # The V1 model has no public year or month section documents.
+ # Only source files for published journal sections and entries are public.
continue
;;
*)