fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
src/social/templates/social/carousel.html
@@ -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 %}