mirror of
https://github.com/YGGverse/hlstate-rs.git
synced 2026-03-31 17:15:37 +00:00
init httpd crate skeleton
This commit is contained in:
parent
470a7d0e73
commit
802e0821e4
13 changed files with 1877 additions and 432 deletions
18
crates/httpd/templates/layout.html.tera
Normal file
18
crates/httpd/templates/layout.html.tera
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>{{ title }}</title>
|
||||
<style>
|
||||
* {color-scheme: light dark}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1><a href="/">{{ title }}</a></h1>
|
||||
</header>
|
||||
<main>
|
||||
{% block content %}{% endblock content %}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue