Compare commits

..

No commits in common. "19bcfc29e84b82438d2b00a144b937aeb342f1e8" and "d941adcdfeb4077d888469791f6bc564c450c01f" have entirely different histories.

4 changed files with 2 additions and 5 deletions

View File

@ -84,9 +84,6 @@ func mustRenderTemplate(wr io.Writer, r *http.Request, layout string, filename s
if _, err := t.ParseFiles(templateFile(filename), templateFile(layout), templateFile("form.gohtml")); err != nil {
panic(err)
}
if w, ok := wr.(http.ResponseWriter); ok {
w.Header().Set("Content-Type", "text/html; charset=utf-8")
}
if err := t.ExecuteTemplate(wr, layout, data); err != nil {
panic(err)
}

1
web/static/htmx@1.9.0.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ template "title" . }} — Numerus</title>
<link rel="stylesheet" type="text/css" media="screen" href="/static/numerus.css">
<script src="/static/htmx@1.9.2.min.js"></script>
<script src="/static/htmx@1.9.0.min.js"></script>
<script type="module" src="/static/numerus.js"></script>
<script defer src="/static/alpinejs@3.12.0.min.js"></script>
</head>