setup htmx to swap (or not) inner html

This commit is contained in:
Agahnim 2026-03-19 15:46:26 +01:00
parent 2e57cf6092
commit aeb9595d42
6 changed files with 23 additions and 9 deletions

View file

@ -5,13 +5,16 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/gif" href="/static/assets/gifs/pcgif.gif" />
<title></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>