From 24b975ac53c086446a3f866edf72acaa86936b8f Mon Sep 17 00:00:00 2001 From: Olivier Dalang Date: Thu, 23 Feb 2017 15:00:46 +0000 Subject: [PATCH 1/2] fix #8 --- templates/modular/features.html.twig | 4 +++- templates/modular/form.html.twig | 4 +++- templates/modular/intro.html.twig | 4 +++- templates/modular/news.html.twig | 4 +++- templates/modular/pricing.html.twig | 4 +++- templates/modular/testimonials.html.twig | 4 +++- templates/modular/text.html.twig | 4 +++- templates/modular/video.html.twig | 3 ++- 8 files changed, 23 insertions(+), 8 deletions(-) diff --git a/templates/modular/features.html.twig b/templates/modular/features.html.twig index 64d9de0..1984f21 100644 --- a/templates/modular/features.html.twig +++ b/templates/modular/features.html.twig @@ -1,4 +1,6 @@ -
+{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %} + +
{{ page.content }} diff --git a/templates/modular/form.html.twig b/templates/modular/form.html.twig index 0490bd8..9632537 100644 --- a/templates/modular/form.html.twig +++ b/templates/modular/form.html.twig @@ -1,4 +1,6 @@ -