Switch html endpoint responses to Jinja templates
This commit is contained in:
parent
9666f104a2
commit
a447633d63
2 changed files with 24 additions and 17 deletions
18
templates/index.html
Normal file
18
templates/index.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>The Pollen Prophet</title>
|
||||
<script src="https://unpkg.com/htmx.org@1.6.1"></script>
|
||||
<link href="static/style.css" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>The Pollen Prophet</h1>
|
||||
<h2>Making funny since 2025 what ought not bee.</h2>
|
||||
<div
|
||||
hx-get="/improvements"
|
||||
hx-target="#content"
|
||||
hx-trigger="load"
|
||||
id="content"
|
||||
></div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue