Add media tagged "featured" to the front page
[mediagoblin-libreplanet.git] / mediagoblin_libreplanet / templates / libreplanet / root.html
index c67f296..746abf4 100644 (file)
 </p>
   <div class="clear"></div>
 
+  <h2>{% trans %}Featured Videos{% endtrans %}</h2>
+  {{ media_grid(request, featured_videos) }}
+  <div class="clear"></div>
+  <p>
+    <a href="/videos/featured">View all featured videos</a>
+  </p>
+
+  <h2>{% trans %}Featured Photos{% endtrans %}</h2>
+  {{ media_grid(request, featured_photos) }}
+  <div class="clear"></div>
+  <p>
+    <a href="/photos/featured">View all featured photos</a>
+  </p>
+
   <h2>{% trans %}Videos{% endtrans %}</h2>
   {{ media_grid(request, videos) }}
   <div class="clear"></div>