chore: click to edit

This commit is contained in:
joerdav committed 2023-05-02 14:52:29 +01:00
1 parent c22ab0a793
commit e6b99f5420
5 files changed
+5 -13

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ templ Layout(title string) {
</style>
}
</head>
<body hx-boost="true">
<body>
@Nav()
<div id="content" class="container p-5 content">
{ children... }
+1 -10
View File
@@ -169,16 +169,7 @@ if err != nil {
return err
}
// Element (standard)
_, err = templBuffer.WriteString("<body")
if err != nil {
return err
}
// Element Attributes
_, err = templBuffer.WriteString(" hx-boost=\"true\"")
if err != nil {
return err
}
_, err = templBuffer.WriteString(">")
_, err = templBuffer.WriteString("<body>")
if err != nil {
return err
}