commit de8c0409ea9206f320235deea0781cac753fae53 from: Omar Polo date: Tue Sep 12 22:39:26 2023 UTC gotwebd: don't loose track of the file in commit listing When browsing the history of a file, the more button should generate a link containing the file= parameter, otherwise we switch back to the 'global' history. Spotted by stsp@ commit - 6c9ac7298bef21a113492d75f7f7208f0e6fb808 commit + de8c0409ea9206f320235deea0781cac753fae53 blob - efdda59e16224c27afe672254b9627509db74a08 blob + 758a80ffc9b387dc25b9c814292abc676d4f9415 --- gotwebd/pages.tmpl +++ gotwebd/pages.tmpl @@ -324,6 +324,7 @@ static inline int rss_author(struct template *, char * .path = qs->path, .commit = t->more_id, .headref = qs->headref, + .file = qs->file, }; !} {{ if t->more_id }}