diff --git a/home.twig b/home.twig new file mode 100644 index 0000000..8ce053d --- /dev/null +++ b/home.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/_home_content.twig" %} +{% endblock content %} diff --git a/includes/content.twig b/includes/_content.twig similarity index 84% rename from includes/content.twig rename to includes/_content.twig index 01517f6..5faf052 100644 --- a/includes/content.twig +++ b/includes/_content.twig @@ -1,8 +1,8 @@ {# SPDX-License-Identifier: EUPL-1.2 #} -{% from "includes/markdown_by_paragraph.twig" import markdown_by_paragraph %} -{% from "includes/actions.twig" import actions %} -{% from "includes/video.twig" import video %} +{% from "includes/macros/markdown_by_paragraph.twig" import markdown_by_paragraph %} +{% from "includes/macros/actions.twig" import actions %} +{% from "includes/macros/video.twig" import video %}
diff --git a/includes/footer.twig b/includes/_footer.twig similarity index 92% rename from includes/footer.twig rename to includes/_footer.twig index 54915a5..de31d45 100644 --- a/includes/footer.twig +++ b/includes/_footer.twig @@ -1,7 +1,7 @@ {# SPDX-License-Identifier: EUPL-1.2 #} -{% from "includes/markdown_by_paragraph.twig" import markdown_by_paragraph %} -{% from "includes/actions.twig" import actions %} +{% from "includes/macros/markdown_by_paragraph.twig" import markdown_by_paragraph %} +{% from "includes/macros/actions.twig" import actions %} {% if not (index.location.disabled and index.social.disabled and index.footer.disabled) %}