+ build command for makefile

This commit is contained in:
itsig0
2024-03-24 18:30:43 +01:00
parent 5e50435309
commit 1da3051c3d
6 changed files with 60 additions and 51 deletions

View File

@@ -24,7 +24,7 @@ func Base(hx bool) templ.Component {
}
ctx = templ.ClearChildren(ctx)
if hx == false {
templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<!doctype html> <html lang=\"en\" data-theme=\"light\"><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><link rel=\"stylesheet\" href=\"/tallytome.css\"><script src=\"/scripts/htmx.js\"></script><title>Tallytome</title></head><body><header>")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -32,7 +32,7 @@ func Base(hx bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 2)
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</header><main>")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -40,7 +40,7 @@ func Base(hx bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 3)
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</main></body></html>")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}