diff --git a/templates/forms/fields/privacy/privacy.html.twig b/templates/forms/fields/privacy/privacy.html.twig index 1227b4c..b3b26af 100644 --- a/templates/forms/fields/privacy/privacy.html.twig +++ b/templates/forms/fields/privacy/privacy.html.twig @@ -4,36 +4,35 @@ {% endblock %} {% block input %} - {% set id = field.id|default(field.name) ~ '-' ~ key %} - -
- - -
- +
+ + +
{% endblock %} diff --git a/templates/macros/topmenu.html.twig b/templates/macros/topmenu.html.twig index ae0954b..80258a0 100644 --- a/templates/macros/topmenu.html.twig +++ b/templates/macros/topmenu.html.twig @@ -1,24 +1,31 @@ {% macro nav_loop(page) %} -{% import _self as macros %} + {% import _self as macros %} {% for p in page.children.visible %} - {% set current_page = (p.active or p.activeChild) ? 'active' : '' %} - {% if p.children.visible.count > 0 %} -
  • - - {% if p.header.icon %}{% endif %} - {{ p.menu }}{% if p.routable ?? false %} {% endif %} - - -
  • - {% else %} -
  • - - {% if p.header.icon %}{% endif %} - {{ p.menu }} - -
  • - {% endif %} - {% endfor %} -{% endmacro %} \ No newline at end of file + {% set current_page = (p.active or p.activeChild) ? 'active' : '' %} + {% if p.children.visible.count > 0 %} +
  • + + {% if p.header.icon %} + + {% endif %} + {{ p.menu }} + {% if p.routable ?? false %}  + {% endif %} + + + +
  • + {% else %} +
  • + + {% if p.header.icon %} + + {% endif %} + {{ p.menu }} + +
  • + {% endif %} + {% endfor %} +{% endmacro %} diff --git a/templates/modular/banner.html.twig b/templates/modular/banner.html.twig index 355cb12..2354e7b 100644 --- a/templates/modular/banner.html.twig +++ b/templates/modular/banner.html.twig @@ -1,25 +1,25 @@ diff --git a/templates/modular/contact.html.twig b/templates/modular/contact.html.twig index 88fd263..f169487 100644 --- a/templates/modular/contact.html.twig +++ b/templates/modular/contact.html.twig @@ -1,5 +1,5 @@
    -

    {{ page.content|raw }}

    - {% include "forms/form.html.twig" with { form: forms('contact-form')} %} +

    {{ page.content|raw }}

    + {% include "forms/form.html.twig" with { form: forms('contact-form')} %}

    diff --git a/templates/modular/features.html.twig b/templates/modular/features.html.twig index 6d876ad..a45bd20 100644 --- a/templates/modular/features.html.twig +++ b/templates/modular/features.html.twig @@ -1,30 +1,37 @@ {% set columns = page.header.layout == 'standard' ? 'col-4 col-6-medium col-12-small' : 'col-6 col-12-small' %}
    -
    +

    {{ page.title }}

    {% if page.header.subtitle %} -

    {{ page.header.subtitle }}

    +

    {{ page.header.subtitle }}

    {% endif %} -
    - {{ content|raw }} +
    + {{ content|raw }} -
    +
    {% for feature in page.header.features %} - -
    +
    - {% if feature.image %}{{feature.title}}{% endif %} -
    - {% if feature.title %}

    {{feature.title}}

    {% endif %} - {% if feature.text %}

    {{feature.text|raw}}

    {% endif %} - {% if feature.buttonurl %}

    {{feature.buttontext}}

    {% endif %} -
    + {% if feature.image %} + {{feature.title}} + {% endif %} +
    + {% if feature.title %} +

    {{feature.title}}

    + {% endif %} + {% if feature.text %} +

    {{feature.text|raw}}

    + {% endif %} + {% if feature.buttonurl %} +

    + {{feature.buttontext}} +

    + {% endif %} +
    -
    - +
    {% endfor %} -
    - +

    diff --git a/templates/partials/footer.html.twig b/templates/partials/footer.html.twig index 35ff9d9..e9c579c 100644 --- a/templates/partials/footer.html.twig +++ b/templates/partials/footer.html.twig @@ -1,4 +1,4 @@