feat: implement htmx with partials on index and cps pages

This commit is contained in:
2024-08-23 19:46:28 +02:00
parent e3f6f93897
commit 92723f5a33
9 changed files with 63 additions and 43 deletions

View File

@ -1,3 +1,7 @@
{% if hx_request %}
<title>{% block title %}{{ title }}{% endblock %}</title>
{% block body %}{% endblock %}
{% else %}
<!doctype html>
<html lang="fr" class="h-full">
<head>
@ -17,3 +21,4 @@
</div>
</body>
</html>
{% endif %}