Basic site running
This commit is contained in:
parent
70fca57571
commit
2e24996510
6 changed files with 161 additions and 2 deletions
16
tmpl/base.html
Normal file
16
tmpl/base.html
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{{define "base"}}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{template "title" .}}</title>
|
||||
{{template "meta" .}}
|
||||
<link rel="stylesheet" href="/static/vars.css">
|
||||
<link rel="stylesheet" href="/static/smol.css">
|
||||
</head>
|
||||
<body>
|
||||
{{template "body" .}}
|
||||
</body>
|
||||
</html>
|
||||
{{end}}
|
||||
13
tmpl/index.html
Normal file
13
tmpl/index.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{{template "base" .}}
|
||||
|
||||
{{define "title"}}Calendar{{end}}
|
||||
|
||||
{{define "meta"}} {{end}}
|
||||
|
||||
{{define "body"}}
|
||||
|
||||
<header class="group">
|
||||
<h1 class="text-2xl">Cal</h1>
|
||||
</header>
|
||||
|
||||
{{end}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue