Initial commit
This commit is contained in:
14
templates/base.html
Normal file
14
templates/base.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link href="https://matcha.mizu.sh/matcha.css" rel="stylesheet">
|
||||
<title>{% block title %}{{ title }}{% endblock %}</title>
|
||||
<script src="https://unpkg.com/htmx.org@2.0.4"></script>
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
7
templates/index.html
Normal file
7
templates/index.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Hello!{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Hello, {{name}}!</h1>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user