aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-05-29 17:49:03 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-05-29 17:49:03 -0500
commit8bfc87e18e0d3654ddb85b8644002ce6d3610f05 (patch)
treec8c6c1e4215ef90125609fe750f36f5f2e9e8d16
parent660e60482444f387d0c12f5c601b58a40a2eb829 (diff)
downloadmediagoblin-8bfc87e18e0d3654ddb85b8644002ce6d3610f05.tar.lz
mediagoblin-8bfc87e18e0d3654ddb85b8644002ce6d3610f05.tar.xz
mediagoblin-8bfc87e18e0d3654ddb85b8644002ce6d3610f05.zip
Use the object gallery file on the front page also
-rw-r--r--mediagoblin/templates/mediagoblin/root.html10
1 files changed, 1 insertions, 9 deletions
diff --git a/mediagoblin/templates/mediagoblin/root.html b/mediagoblin/templates/mediagoblin/root.html
index 05926687..e5344e08 100644
--- a/mediagoblin/templates/mediagoblin/root.html
+++ b/mediagoblin/templates/mediagoblin/root.html
@@ -41,15 +41,7 @@
{# temporarily, an "image gallery" that isn't one really ;) #}
<div>
- <ul>
- {% 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>
+ {% include "mediagoblin/utils/object_gallery.html" %}
</div>
{% endblock %}