aboutsummaryrefslogtreecommitdiff
path: root/about.go
diff options
context:
space:
mode:
authorhovertank3d <[email protected]>2025-01-18 23:27:52 +0100
committerhovertank3d <[email protected]>2025-01-18 23:28:53 +0100
commit1a5a86a5d4557200db20e20206bcdd7b9b2a7e55 (patch)
tree03aae452a7dc2d9f71cf7a83adbfd8e112ad562e /about.go
parent2aa29060c81fb52884b290603f1cf930259443b9 (diff)
downloadlzcnt.space-1a5a86a5d4557200db20e20206bcdd7b9b2a7e55.tar.xz
lzcnt.space-1a5a86a5d4557200db20e20206bcdd7b9b2a7e55.zip
refactor and add /about
Diffstat (limited to 'about.go')
-rw-r--r--about.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/about.go b/about.go
new file mode 100644
index 0000000..e005d55
--- /dev/null
+++ b/about.go
@@ -0,0 +1,24 @@
+// i made this site to serve some of my future demos and fuuny
+// projects. currently there are only couple of interesting things i wrote:
+
+// * {{ template "link.html" (arr "46load" "https://github.com/hovertank3d/46load")}},
+// * {{ template "link.html" (arr "fire" "https://github.com/hovertank3d/fire")}},
+// * {{ template "link.html" (arr "bfc" "https://github.com/hovertank3d/bfc")}},
+// * {{ template "link.html" (arr "enigma16" "https://github.com/hovertank3d/enigma16")}},
+
+// so, come back when i'll write something
+
+// also, this site uses {{ template "link.html" (arr "genhl" "https://github.com/hovertank3d/genhl")}} to go:generate syntax highlight
+
+package lzcnt
+
+import "net/http"
+
+func (s *Server) aboutPage(w http.ResponseWriter, r *http.Request) {
+ payload := map[string]any{
+ "Page": "about.go.html",
+ "Title": "About",
+ }
+
+ tmpl.ExecuteTemplate(w, "index.html", payload)
+}