diff --git a/templates/page_with_carousel_button.html b/templates/page_with_carousel_button.html index f0b862d6d1d7ef3b2e740fdb0b3a0eadcdae89bf..53824e8145261d4e4e45743fb1cf616a8c391091 100644 --- a/templates/page_with_carousel_button.html +++ b/templates/page_with_carousel_button.html @@ -85,9 +85,10 @@ {% block template_content_footer %} -<button type="button" class="btn btn-default btn-lg"> - {% set button = item.split('|') %} - <a href="{{ button[0] }}">{{ button[1] }}</a> -</button> - +{% for item in buttons %} + <button type="button" class="btn btn-default btn-lg"> + {% set button = item.split('|') %} + <a href="{{ button[0] }}">{{ button[1] }}</a> + </button> +{% endfor %} {% endblock %}