added css
This commit is contained in:
parent
b64ec5f910
commit
f13a4ecde2
2 changed files with 19 additions and 12 deletions
3
internal/server/static/style.css
Normal file
3
internal/server/static/style.css
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
body {
|
||||
background-color: white;
|
||||
}
|
||||
|
|
@ -1,17 +1,21 @@
|
|||
{{define "layout"}}
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>{{template "title" .}}</title>
|
||||
<script src="/static/htmx2.04.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>{{template "title" .}}</h1>
|
||||
</header>
|
||||
<nav>{{template "nav" .}}</nav>
|
||||
{{template "main" .}}
|
||||
</body>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>{{template "title" .}}</title>
|
||||
<script src="/static/htmx2.04.js" defer></script>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<h1>{{template "title" .}}</h1>
|
||||
</header>
|
||||
<nav>{{template "nav" .}}</nav>
|
||||
{{template "main" .}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
{{end}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue