Merge branch 'main' of gitpro:ThomasRubini/ProjetSymfony
This commit is contained in:
commit
3bf8a92a62
@ -12,14 +12,12 @@
|
|||||||
<h1>results for {{ query }} with {{fruit_emoji}} ✅</h1>
|
<h1>results for {{ query }} with {{fruit_emoji}} ✅</h1>
|
||||||
{% for result in results %}
|
{% for result in results %}
|
||||||
{% set array = result['title']|split('-') %}
|
{% set array = result['title']|split('-') %}
|
||||||
|
{% set artist = array[0] %}
|
||||||
|
{% set song = array[1] %}
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<p>artist : {{artist}}</p>
|
||||||
artist : {{array[0]}}
|
<p>song : {{song}}</p>
|
||||||
</div>
|
<img loading="lazy" src={{result['cover_image']}} alt="{{song ~ ' by ' ~ artist}}" />
|
||||||
<div>
|
|
||||||
song : {{array[1]}}
|
|
||||||
</div>
|
|
||||||
<img src={{result['cover_image']}}></img>
|
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<a href="/search?q={{query}}&page={{previous_page}}&fruit={{fruit_emoji}}">previous page</a>
|
<a href="/search?q={{query}}&page={{previous_page}}&fruit={{fruit_emoji}}">previous page</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user