diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-09-26 23:41:36 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-09-26 23:41:36 +0800 |
| commit | a9aa1d39bb85c04fcd4f7a70f4a9eae48ce998f4 (patch) | |
| tree | 534998f21eb69312cf1db6cf315a33ab02bf97d1 | |
| parent | a3db162f1f37e75b05fff9f1581dcba2357e99b4 (diff) | |
| download | rhomepage-a9aa1d39bb85c04fcd4f7a70f4a9eae48ce998f4.tar.gz rhomepage-a9aa1d39bb85c04fcd4f7a70f4a9eae48ce998f4.tar.xz | |
Keep journal prefix in public URLs
| -rw-r--r-- | hugo.toml | 2 | ||||
| -rwxr-xr-x | scripts/publish-raw | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ enableRobotsTXT = false lastmod = ["updated"] [permalinks] - journal = "/:year/:month/:slug" + journal = "/journal/:year/:month/:slug" notes = "/:sections/:slug" [outputs] diff --git a/scripts/publish-raw b/scripts/publish-raw index cc9b02b..4bcdbe9 100755 --- a/scripts/publish-raw +++ b/scripts/publish-raw @@ -21,7 +21,7 @@ do target=$public_dir/journal/_index.md ;; journal/*/*/*/*) - target=$public_dir/${relative#journal/} + target=$public_dir/$relative ;; journal/*) # The V1 model has no public year or month section documents. |
