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