setup htmx to swap (or not) inner html
This commit is contained in:
parent
3fe2c50961
commit
b8e8c0edfa
6 changed files with 23 additions and 9 deletions
|
|
@ -5,13 +5,16 @@
|
|||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/gif" href="/static/assets/gifs/pcgif.gif" />
|
||||
<title>Agahnim</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
<link rel="stylesheet" href="/static/style.css" />
|
||||
<script src="/static/vendor/htmx.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body hx-boost="true" hx-target="#content">
|
||||
{% include "partials/header.html" %}
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
<main id="content">
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
|
||||
</body>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue