diff --git a/contact.twig b/contact.twig new file mode 100644 index 0000000..18e2362 --- /dev/null +++ b/contact.twig @@ -0,0 +1,10 @@ +{#! + # SeaCMS 1.0.0-alpha.2 (https://git.defis.info/SeaCMS/seacms) + # Licensed under EUPL (https://git.defis.info/SeaCMS/seacms/src/branch/master/LICENCE) + #} + +{% extends "index.twig" %} + +{% block content %} + {% include "includes/_contact_content.twig" %} +{% endblock content %} diff --git a/includes/_contact_content.twig b/includes/_contact_content.twig new file mode 100644 index 0000000..1fcbf1d --- /dev/null +++ b/includes/_contact_content.twig @@ -0,0 +1,192 @@ +{# SPDX-License-Identifier: EUPL-1.2 #} + +
+
+
+ +
+
+

{{ meta.titlecard }}

+ + +
+
+
    +
  • +
  • +
  • +
+
+
+ +
+ +
+ + + + +
+ +
+ 'email-to', 'placeholder' => __("Email to"), 'class' => 'w100'));?> + 'email-hash', 'type' => 'hidden', 'class' => 'hidden'));?> + +
+ +
+
+ *" class="w100" required> +
+
+ *" class="w100" required> +
+
+ *" class="w100" required> +
+
+ +
+
+ + +
+ + + +
+ + + + +
+ + +
+ + +
+ +
+ + + +
+ +
+ + + + + + "> + + "> + +
+ +
+ +
+
+
+ + + diff --git a/includes/_header.twig b/includes/_header.twig index 359c93d..9a44513 100644 --- a/includes/_header.twig +++ b/includes/_header.twig @@ -7,13 +7,11 @@ diff --git a/includes/_home_content.twig b/includes/_home_content.twig index 1b92816..6f2d441 100644 --- a/includes/_home_content.twig +++ b/includes/_home_content.twig @@ -8,11 +8,11 @@

{{ site_title }}


- Editable text with icon + Editable text with icon
- {% for button in pages["_meta"].meta.button %} + {% for button in meta.button %} Editable button with icon {% endfor %}
@@ -21,10 +21,10 @@
- {{ pages[ + {{ meta.image1.alt }} -

{{ pages["_meta"].meta.image1.title }}

-
{{ pages["_meta"].meta.image1.txt }}
+

{{ meta.image1.title }}

+
{{ meta.image1.txt }}
@@ -44,7 +44,7 @@
- {% for module in pages["_meta"].meta.module %} + {% for module in meta.module %}
@@ -75,9 +75,7 @@

{{ current_page.title }}

{{ meta.title ? meta.title : current_page.id }}

- {% if pages["_meta"].meta.icon1 %} - Editable button with icon - {% endif %} + Editable button with icon
{# {% if meta.video %} diff --git a/index.twig b/index.twig index d498dd5..c855caa 100644 --- a/index.twig +++ b/index.twig @@ -5,7 +5,7 @@ {# TODO manage lang #} - + {% block head %} {% include "includes/_head.twig" %} {% endblock head %} diff --git a/page2.twig b/page2.twig new file mode 100644 index 0000000..e70fa01 --- /dev/null +++ b/page2.twig @@ -0,0 +1,10 @@ +{#! + # SeaCMS 1.0.0-alpha.2 (https://git.defis.info/SeaCMS/seacms) + # Licensed under EUPL (https://git.defis.info/SeaCMS/seacms/src/branch/master/LICENCE) + #} + +{% extends "index.twig" %} + +{% block content %} + {{ content }} +{% endblock content %}