mini-player: backup before trying to include it in template
This commit is contained in:
parent
77730031f7
commit
55fa3b9196
3 changed files with 3 additions and 2 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<body hx-boost="true" hx-target="#content">
|
||||
{% include "partials/header.html" %}
|
||||
<div hx-get="/miniplayer" hx-trigger="load" hx-swap="innerHtml"></div>
|
||||
<!-- <div hx-get="/miniplayer" hx-trigger="load" hx-swap="outerHtml"></div> -->
|
||||
<main id="content">
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<home-content>
|
||||
<welcome>
|
||||
<img src="/static/assets/images/welcome.webp" alt="A welcome text in pink" />
|
||||
<p>test</p>
|
||||
</welcome>
|
||||
</home-content>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<miniplayer>
|
||||
<h1>Salut</h1>
|
||||
<h1>Je suis un miniplayer</h1>
|
||||
</miniplayer>
|
||||
Loading…
Add table
Add a link
Reference in a new issue