Cleanup
[wolnelektury.git] / src / social / templates / social / carousel.html
diff --git a/src/social/templates/social/carousel.html b/src/social/templates/social/carousel.html
new file mode 100644 (file)
index 0000000..2d91721
--- /dev/null
@@ -0,0 +1,7 @@
+{% for banner in banners %}
+  {% if banner.picture %}
+    <div style="background-image: url('{{ banner.picture.url }}');">
+      <a href="{{ banner.link }}"></a>
+    </div>
+  {% endif %}
+{% endfor %}