all repos — homestead @ 9ccfda51285f521e3fd41589a329317fa226a8f8

Code for my website

fix mangling of stats URLs

Alan Pearce
commit

9ccfda51285f521e3fd41589a329317fa226a8f8

parent

1020fe14ea6fce2914442a4b542bee09cf71d9bc

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

jump to
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)