diff --git a/template-servicio.php b/template-servicio.php new file mode 100644 index 0000000..434b18f --- /dev/null +++ b/template-servicio.php @@ -0,0 +1,12 @@ + -
+
{{post.content}}
- {% if post.id == '29' or post.id == '37' or post.id == '66' or post.id == '70' or post.id == '72' %} + {#{% if post.id == '29' or post.id == '37' or post.id == '66' or post.id == '70' or post.id == '72' %}
@@ -32,19 +32,6 @@
- {#
#} - {#{% if post.id == '29' %} - {{ post.title }} - {% elseif post.id == '37' %} - {{ post.title }} - {% elseif post.id == '66' %} - {{ post.title }} - {% elseif post.id == '70' %} - {{ post.title }} - {% elseif post.id == '72' %} - {{ post.title }} - {% endif %}#} - {#
#}
{{post.meta('que_hacemos')}} @@ -66,18 +53,6 @@
{{ post.title }} - - {#{% if post.id == '29' %} - {{ post.title }} - {% elseif post.id == '37' %} - {{ post.title }} - {% elseif post.id == '66' %} - {{ post.title }} - {% elseif post.id == '70' %} - {{ post.title }} - {% elseif post.id == '72' %} - {{ post.title }} - {% endif %}#}
@@ -88,46 +63,6 @@
- {##} -
@@ -136,9 +71,6 @@ {{post.meta('servicio_eslogan')}}
- {#{% set postslug = post.slug %} - {{ posts_by_service(1,postslug,postslug,'related_proyectos_item-servicio-unico.twig') }}#} -
{{post.meta('proyecto_destacado').title}} @@ -203,8 +135,6 @@ {{ post.title }} {% endif %} - {##} -
{{ post.title }}
@@ -213,7 +143,7 @@
- {% endif %} + {% endif %}#}
diff --git a/views/template-servicio.twig b/views/template-servicio.twig new file mode 100644 index 0000000..b6b7a8d --- /dev/null +++ b/views/template-servicio.twig @@ -0,0 +1,160 @@ +{% extends "base.twig" %} + +{% block content %} + +
+ + + +
+
+ {{post.content}} +
+
+ +
+ +
+
+

Qué hacemos

+
+
+ +
+
+ +
+ + {{post.meta('que_hacemos')}} + +
+
+
+ +
+ +
+ +
+
+

Cómo lo hacemos

+
+
+ +
+
+
+ + {{ post.title }} + +
+
+ + {{post.meta('como_lo_hacemos')}} + +
+
+
+
+ +
+ +
+ +
+ + {{post.meta('servicio_eslogan')}} + +
+ +
+ +
+ {{post.meta('proyecto_destacado').title}} +
+ +
+ +
+ + +

{{ post.meta('proyecto_destacado').title }}

+ + {{ post.meta('proyecto_destacado').title }} + +
+ {% for term in post.meta('proyecto_destacado').terms %} + {% if term.slug == 'investigacion-social-aplicada' %} + {{ term }} + {% elseif term.slug == 'evaluacion-externa-y-participativa' %} + {{ term }} + {% elseif term.slug == 'formacion' %} + {{ term }} + {% elseif term.slug == 'intervencion-social-y-educativa' %} + {{ term }} + {% elseif term.slug == 'consultoria' %} + {{ term }} + {% endif %} + {% endfor %} +
+
+
+ +
+ +
+ +
+
+

Llámanos y solicita información adicional
915 42 83 43

+
+
+ + + +
+ +{% endblock %}