panel/web/views/layouts/base.templ
2024-11-03 15:33:08 -05:00

21 lines
No EOL
581 B
Text

package layouts
import "omnibill.net/omnibill/web/views/components"
templ Base(pageHeading templ.Component) {
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/assets/css/styles.css">
@components.LoadJSAsset("main.js", &components.ScriptAssetOptions{IsModule: true, IsDefer: true})
if pageHeading != nil {
@pageHeading
}
</head>
<body>
{ children... }
</body>
</html>
}