Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,9 +116,12 @@ <h3 class="elliflow" itemprop="name">{{ app.name|translate(app) }}</h3> | |
{% if feed_app.description %} | ||
<p class="desc">{{ feed_app.description }}</p> | ||
{% endif %} | ||
<div class="feed-app-preview-container"> | ||
<img class="feed-app-preview" src="{{ feed_app.preview.image_url }}"> | ||
</div> | ||
<div class="feed-app-preview-container" | ||
style="background-color: {{ feed_app.background_color }}; | ||
background-image: url({{ feed_app.preview.image_url }}); | ||
This comment has been minimized.
Sorry, something went wrong. |
||
background-position: center center; | ||
This comment has been minimized.
Sorry, something went wrong.
cvan
Contributor
|
||
background-repeat: no-repeat; | ||
background-size: contain;"></div> | ||
{% endif %} | ||
</div> | ||
{% endmacro %} |
you'll want to escape the URLs so spaces and quotation marks work (you can use
|json
I think)