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"}}
|
{{define "layout"}}
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
<head>
|
||||||
<title>{{template "title" .}}</title>
|
<meta charset="UTF-8" />
|
||||||
<script src="/static/htmx2.04.js" defer></script>
|
<title>{{template "title" .}}</title>
|
||||||
</head>
|
<script src="/static/htmx2.04.js" defer></script>
|
||||||
<body>
|
<link rel="stylesheet" href="/static/style.css">
|
||||||
<header>
|
</head>
|
||||||
<h1>{{template "title" .}}</h1>
|
|
||||||
</header>
|
<body>
|
||||||
<nav>{{template "nav" .}}</nav>
|
<header>
|
||||||
{{template "main" .}}
|
<h1>{{template "title" .}}</h1>
|
||||||
</body>
|
</header>
|
||||||
|
<nav>{{template "nav" .}}</nav>
|
||||||
|
{{template "main" .}}
|
||||||
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue