panel/web/views/layouts/base.templ

21 lines
581 B
Text
Raw Normal View History

2024-11-03 21:33:08 +01:00
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>
}