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>
|
||||
{% for result in results %}
|
||||
{% set array = result['title']|split('-') %}
|
||||
{% set artist = array[0] %}
|
||||
{% set song = array[1] %}
|
||||
<div>
|
||||
<div>
|
||||
artist : {{array[0]}}
|
||||
</div>
|
||||
<div>
|
||||
song : {{array[1]}}
|
||||
</div>
|
||||
<img src={{result['cover_image']}}></img>
|
||||
<p>artist : {{artist}}</p>
|
||||
<p>song : {{song}}</p>
|
||||
<img loading="lazy" src={{result['cover_image']}} alt="{{song ~ ' by ' ~ artist}}" />
|
||||
</div>
|
||||
{% endfor %}
|
||||
<a href="/search?q={{query}}&page={{previous_page}}&fruit={{fruit_emoji}}">previous page</a>
|
||||
|
Loading…
Reference in New Issue
Block a user