Use the object gallery file on the front page also

This commit is contained in:
Christopher Allan Webber 2011-05-29 17:49:03 -05:00
parent 660e604824
commit 8bfc87e18e

View File

@ -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 %}