From 20f2cb81f13709ad55ee0a7217b77899868c2519 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Mon, 1 May 2023 17:06:04 -0400 Subject: [PATCH] add alternate rel link for activity to header --- views/header.html | 1 + web.go | 1 + 2 files changed, 2 insertions(+) diff --git a/views/header.html b/views/header.html index 8792e36..4c535d0 100644 --- a/views/header.html +++ b/views/header.html @@ -6,6 +6,7 @@ {{ if .LocalStyleParam }} {{ end }} +{{ .APAltLink }} diff --git a/web.go b/web.go index 62e2200..a82f1df 100644 --- a/web.go +++ b/web.go @@ -1079,6 +1079,7 @@ func showonehonk(w http.ResponseWriter, r *http.Request) { templinfo := getInfo(r) templinfo["ServerMessage"] = "one honk maybe more" templinfo["HonkCSRF"] = login.GetCSRF("honkhonk", r) + templinfo["APAltLink"] = templates.Sprintf("", xid) honkpage(w, u, honks, templinfo) }