budget-go/backend/view/template/base.templ
2025-02-08 20:19:26 +01:00

21 lines
454 B
Text

package template
import "gitnet.fr/deblan/budget/backend/view"
templ Fav(url string) {
<link rel="icon" type="image/x-icon" href={ url }>
}
templ Head(title string) {
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
@Fav(view.Asset("static/img/favicon.png"))
<title>{ title }</title>
@templ.Raw(view.EntrypointCss("main"))
</head>
}
templ JS() {
@templ.Raw(view.EntrypointJs("main"))
}