From 83f9707b0009390f98786027226f3e3b64a8363a Mon Sep 17 00:00:00 2001 From: Pierre De Lancre Date: Fri, 26 Jun 2026 21:43:14 +0300 Subject: [PATCH] funny --- blog/routes.go | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/blog/routes.go b/blog/routes.go index 4a6c7db..ee067df 100644 --- a/blog/routes.go +++ b/blog/routes.go @@ -270,7 +270,43 @@ func RegisterRoutes(mux *http.ServeMux, contentDir string) error { // robots.txt mux.HandleFunc("/robots.txt", func(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "text/plain") - w.Write([]byte("User-agent: *\nAllow: /\n\nSitemap: https://chaosmith.systems/sitemap.xml\n")) + w.Write([]byte(`User-agent: * +Allow: / + +Sitemap: https://chaosmith.systems/sitemap.xml + + + +---------------------+ + | | + | | + | | + | _ | + | .' '. | + | .' '. | + | .' '. | + | .' '. | + |.' ,-------. '.| + | ,' . '. | + | ( ( ) ) | + | '. ' ,' | + | '-------' | + | | + | +---------+ | + | | AGIO | | + | | RPC | | + |\ +---------+ /| + | \ .' | + | '. / | + | \ / | + | \ / | + | \ .' | + | '. / | + | \ / | + | - | + | | + | | + +---------------------+ +`)) }) log.Printf("blog: loaded %d post(s) from %s, mounted at /blog/", store.Count(), contentDir)