commit 882ee74dcf6c73130b57c0db7b8013d02d26a95a from: Omar Polo via: Thomas Adam date: Thu Sep 14 07:51:19 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 - 64eef0123a7b7a22646d62c2ce452f00a1c76868 commit + 882ee74dcf6c73130b57c0db7b8013d02d26a95a blob - b87d986adf171cf49aea4b41631dbcad1d0a3e9c blob + f380a34760cdffaff706cf5a5a6aee22539e9648 --- 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 }}