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