all repos — website @ 2fffb59ecfcc7e9a7cd5fc1a4c7d5998ad1f6b64

My website

fix mangling of stats URLs

Alan Pearce
commit

2fffb59ecfcc7e9a7cd5fc1a4c7d5998ad1f6b64

parent

ab3dc1160db63a961e4e8d822433bae943b5784e

1 file changed, 5 insertions(+), 1 deletion(-)

changed files
M templates/page.templtemplates/page.templ
@@ -87,7 +87,11 @@ </body>
</html> } -func mkURL(u config.URL, path string, title string) string { +func mkURL(original config.URL, path string, title string) string { + ou := *original.URL + u := config.URL{ + URL: &ou, + } q := url.Values{} q.Add("p", path) q.Add("t", title)