summaryrefslogtreecommitdiffci
path: root/internal/router/basic-handler.go
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2026-03-29 02:05:06 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2026-03-29 02:05:06 +0700
commit0a9de353b2456505b0b8214fab4a7c844d31735c (patch)
treeae130f4617bab4b05f13521b1e701cd88f48d69f /internal/router/basic-handler.go
parent610341bc9d59f9724e8e71f663b28df1904cb038 (diff)
downloadweb-0a9de353b2456505b0b8214fab4a7c844d31735c.tar.gz
web-0a9de353b2456505b0b8214fab4a7c844d31735c.zip
fix: add page metadata correctly
feat: link marker fill saturation and brightness in the global map to the publication date
Diffstat (limited to 'internal/router/basic-handler.go')
-rw-r--r--internal/router/basic-handler.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/router/basic-handler.go b/internal/router/basic-handler.go
index a859d10..4a94a48 100644
--- a/internal/router/basic-handler.go
+++ b/internal/router/basic-handler.go
@@ -41,6 +41,12 @@ func (r *BasicHandler) Render(c *fiber.Ctx, supplements *Supplements, lang strin
return fiber.StatusNoContent, nil
}
+func (r *BasicHandler) AddMeta(c *fiber.Ctx, supplements *Supplements, lang string, templateMap fiber.Map) (meta map[string]string, err error) {
+ return map[string]string{
+ "robots": "noindex,nofollow",
+ }, nil
+}
+
func (r *BasicHandler) RenderHeader(c *fiber.Ctx, supplements *Supplements, lang string, templateMap fiber.Map) (statusCode int, err error) {
return fiber.StatusNoContent, nil
}