commit 97d308fbba1e53adb3a2300607bfdc7c70364b46b6f09dadf79aed8d5abd34e4 from: Stefan Sperling date: Fri Feb 14 13:45:18 2025 UTC gotwebd: preserve 'folder=' parameter when following More links When navigating commits made to a file in a subdirectory the More link wouldn't work as it looked for the file path in the repository root directory rather than the subdirectory. commit - 1e77374764c1364e5046de218e02281841d1bea4ebfef115ff8fcb1517afe21e commit + 97d308fbba1e53adb3a2300607bfdc7c70364b46b6f09dadf79aed8d5abd34e4 blob - 678c714436ff2ba0cbd9c04d193ed9861cf1ed87e663f626a1e35bd68d9d52fb blob + 833f5b3c27fbf2fd53cb9188b6ded464dfc29ee568b12cd0a2306b8edce8fdf1 --- gotwebd/pages.tmpl +++ gotwebd/pages.tmpl @@ -458,6 +458,7 @@ nextsep(char *s, char **t) .path = qs->path, .commit = t->more_id, .headref = qs->headref, + .folder = qs->folder, .file = qs->file, };