diff --git a/src/CoreShop/Bundle/FrontendBundle/Resources/views/Common/paginator.html.twig b/src/CoreShop/Bundle/FrontendBundle/Resources/views/Common/paginator.html.twig index bdb314457f..4dbc1a3fa1 100644 --- a/src/CoreShop/Bundle/FrontendBundle/Resources/views/Common/paginator.html.twig +++ b/src/CoreShop/Bundle/FrontendBundle/Resources/views/Common/paginator.html.twig @@ -2,16 +2,15 @@ {% set pages = paginator.getPaginationData %} {% macro generate_seo_pagination_url(page) %} - {% apply spaceless %} - {% if page == 1 %} - {% set pageUrl = pimcore_url({ page: null }) %} - {% else %} - {% set pageUrl = pimcore_url({ page: page }) %} - {% endif %} +{% apply spaceless %} + {% if page == 1 %} + {% set pageUrl = pimcore_url({ page: null }) %} + {% else %} + {% set pageUrl = pimcore_url({ page: page }) %} + {% endif %} - {{ pageUrl }} - {#{{ optimizedUrl }}#} - {% endapply %} + {{ pageUrl }} +{% endapply %} {% endmacro %} {% if pages.pageCount > 1 %}