Use the object gallery file on the front page also
This commit is contained in:
parent
660e604824
commit
8bfc87e18e
@ -41,15 +41,7 @@
|
|||||||
{# temporarily, an "image gallery" that isn't one really ;) #}
|
{# temporarily, an "image gallery" that isn't one really ;) #}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<ul>
|
{% include "mediagoblin/utils/object_gallery.html" %}
|
||||||
{% for entry in media_entries %}
|
|
||||||
<li>
|
|
||||||
<a href="{{ entry.url_for_self(request.urlgen) }}">
|
|
||||||
<img src="{{ request.app.public_store.file_url(
|
|
||||||
entry['media_files']['thumb']) }}" /></a>
|
|
||||||
</li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user