Compare commits
No commits in common. "19bcfc29e84b82438d2b00a144b937aeb342f1e8" and "d941adcdfeb4077d888469791f6bc564c450c01f" have entirely different histories.
19bcfc29e8
...
d941adcdfe
|
@ -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)
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue