aboutsummaryrefslogtreecommitdiff
path: root/scripts/publish-raw
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-09-27 01:50:31 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-09-27 01:50:31 +0800
commit520f1f510c5a6acfbdbbec6e6c092fd2bde6b44d (patch)
tree30092968f0682e1ac92e3a154f0f54994cc2d655 /scripts/publish-raw
parent819a25a5ff079a332620e8b21c2a2a2c877efe1a (diff)
downloadrhomepage-520f1f510c5a6acfbdbbec6e6c092fd2bde6b44d.tar.gz
rhomepage-520f1f510c5a6acfbdbbec6e6c092fd2bde6b44d.tar.xz
Add journal year and month indexes
Diffstat (limited to 'scripts/publish-raw')
-rwxr-xr-xscripts/publish-raw5
1 files changed, 4 insertions, 1 deletions
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
;;
*)