-# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
#
import re
from django import template
return lazy(get_value, str)()
-@register.inclusion_tag('social/carousel_2022.html', takes_context=True)
-def carousel_2022(context, placement):
+@register.inclusion_tag('social/carousel.html', takes_context=True)
+def carousel(context, placement):
banners = Carousel.get(placement).carouselitem_set.all()#first().get_banner()
return {
'banners': [b.get_banner() for b in banners],