This commit is contained in:
vxclutch
2026-05-27 08:30:51 -04:00
parent 060200c998
commit 71ffad466b
12 changed files with 175 additions and 66 deletions

View File

@@ -0,0 +1,17 @@
package handlers
import (
"html/template"
"lash"
"net/http"
)
type ShareData struct {
Version string
FileName string
}
func (h ShareData) Handler(w http.ResponseWriter, r *http.Request) {
tmpl := template.Must(template.ParseFS(lash.Templates, "share.html"))
tmpl.ExecuteTemplate(w, "share.html", h)
}