update: service, handlers, and db separation
This commit is contained in:
16
templates/shared/page.templ
Normal file
16
templates/shared/page.templ
Normal file
@@ -0,0 +1,16 @@
|
||||
package shared
|
||||
|
||||
templ Page(title string) {
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"></meta>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"></meta>
|
||||
<script src="https://unpkg.com/htmx.org@1.9.11"></script>
|
||||
<link rel="stylesheet" href="/assets/output.css"></link>
|
||||
<title>{title}</title>
|
||||
</head>
|
||||
<body>
|
||||
{ children... }
|
||||
</body>
|
||||
</html>
|
||||
}
|
||||
Reference in New Issue
Block a user