--
-- commit-filter=lua:/path/to/this/script.lua
--
--- Example: http://bogomips.org/public-inbox.git/
+-- Example site: https://80x24.org/public-inbox.git/
local urls = {}
-urls['public-inbox.git'] = 'http://public-inbox.org/meta/'
+urls['public-inbox.git'] = 'https://public-inbox.org/meta/'
-- additional URLs here...
function filter_open(...)
if u == nil then
html(buffer)
else
- html('<a href="' .. u .. '?x=t&q=')
+ html('<a href="' .. u .. '?x=t&q=')
html_url_arg('"' .. buffer .. '"')
html('"><tt>')
html_txt(buffer)