From 09e127a047acb4f5803818b814e03b7c03c82672 Mon Sep 17 00:00:00 2001 From: Thatoo Date: Thu, 16 Feb 2023 20:34:18 +0100 Subject: [PATCH] feat(licence):add --- includes/about.twig | 8 ++------ includes/actions.twig | 8 ++------ includes/contact.twig | 8 ++------ includes/content.twig | 8 ++------ includes/footer.twig | 6 ++---- includes/head.twig | 6 ++---- includes/header.twig | 5 +---- includes/home.twig | 14 +++++--------- includes/markdown_by_paragraph.twig | 2 ++ includes/portfolio.twig | 8 ++------ includes/portfolio_modals.twig | 8 ++------ includes/video.twig | 8 ++------ includes/yaml_error.twig | 8 ++------ 13 files changed, 28 insertions(+), 69 deletions(-) diff --git a/includes/about.twig b/includes/about.twig index 2dbe9b6..2a0fff5 100644 --- a/includes/about.twig +++ b/includes/about.twig @@ -1,9 +1,5 @@ -{#! - # Freelancer for Pico v2.0.7 (https://github.com/mayamcdougall/freelancer-pico) - # Ported by Maya McDougall (https://github.com/mayamcdougall) - # Based on upstream Freelancer v7.0.4 by Start Bootstrap (https://startbootstrap.com/theme/freelancer) - # Licensed under MIT (https://github.com/mayamcdougall/freelancer-pico/blob/main/LICENSE) - #} +{# SPDX-License-Identifier: EUPL-1.2 #} + {% from "includes/markdown_by_paragraph.twig" import markdown_by_paragraph %} {% from "includes/actions.twig" import actions %} diff --git a/includes/actions.twig b/includes/actions.twig index 909a63c..0a5b32d 100644 --- a/includes/actions.twig +++ b/includes/actions.twig @@ -1,9 +1,5 @@ -{#! - # Freelancer for Pico v2.0.7 (https://github.com/mayamcdougall/freelancer-pico) - # Ported by Maya McDougall (https://github.com/mayamcdougall) - # Based on upstream Freelancer v7.0.4 by Start Bootstrap (https://startbootstrap.com/theme/freelancer) - # Licensed under MIT (https://github.com/mayamcdougall/freelancer-pico/blob/main/LICENSE) - #} +{# SPDX-License-Identifier: EUPL-1.2 #} + {% macro actions(actions, mode, include_close_button = true) %} {% set has_actions = actions ? true : false %} {{ has_actions ? '
' }} diff --git a/includes/contact.twig b/includes/contact.twig index 87444ab..25bb983 100644 --- a/includes/contact.twig +++ b/includes/contact.twig @@ -1,9 +1,5 @@ -{#! - # Freelancer for Pico v2.0.7 (https://github.com/mayamcdougall/freelancer-pico) - # Ported by Maya McDougall (https://github.com/mayamcdougall) - # Based on upstream Freelancer v7.0.4 by Start Bootstrap (https://startbootstrap.com/theme/freelancer) - # Licensed under MIT (https://github.com/mayamcdougall/freelancer-pico/blob/main/LICENSE) - #} +{# SPDX-License-Identifier: EUPL-1.2 #} +
diff --git a/includes/content.twig b/includes/content.twig index e6c549d..01517f6 100644 --- a/includes/content.twig +++ b/includes/content.twig @@ -1,9 +1,5 @@ -{#! - # Freelancer for Pico v2.0.7 (https://github.com/mayamcdougall/freelancer-pico) - # Ported by Maya McDougall (https://github.com/mayamcdougall) - # Based on upstream Freelancer v7.0.4 by Start Bootstrap (https://startbootstrap.com/theme/freelancer) - # Licensed under MIT (https://github.com/mayamcdougall/freelancer-pico/blob/main/LICENSE) - #} +{# 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 %} diff --git a/includes/footer.twig b/includes/footer.twig index cbf1c6c..e0f70c5 100644 --- a/includes/footer.twig +++ b/includes/footer.twig @@ -1,7 +1,5 @@ -{#! - # 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) - #} +{# SPDX-License-Identifier: EUPL-1.2 #} + {% from "includes/markdown_by_paragraph.twig" import markdown_by_paragraph %} {% from "includes/actions.twig" import actions %} {% if not (index.location.disabled and index.social.disabled and index.footer.disabled) %} diff --git a/includes/head.twig b/includes/head.twig index ae04a70..d28ef6b 100644 --- a/includes/head.twig +++ b/includes/head.twig @@ -1,7 +1,5 @@ -{#! - # 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) - #} +{# SPDX-License-Identifier: EUPL-1.2 #} + diff --git a/includes/header.twig b/includes/header.twig index 0c5274b..03524d1 100644 --- a/includes/header.twig +++ b/includes/header.twig @@ -1,7 +1,4 @@ -{#! - # 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) - #} +{# SPDX-License-Identifier: EUPL-1.2 #}
diff --git a/includes/markdown_by_paragraph.twig b/includes/markdown_by_paragraph.twig index a8d2aa9..e7b6aee 100644 --- a/includes/markdown_by_paragraph.twig +++ b/includes/markdown_by_paragraph.twig @@ -1,3 +1,5 @@ +{# SPDX-License-Identifier: EUPL-1.2 #} + {% macro markdown_by_paragraph(content, mode) %} {% set content_array = [] %} {% for paragraph in content|split("\n") %} diff --git a/includes/portfolio.twig b/includes/portfolio.twig index 540ae4f..e5d2fc2 100644 --- a/includes/portfolio.twig +++ b/includes/portfolio.twig @@ -1,9 +1,5 @@ -{#! - # Freelancer for Pico v2.0.7 (https://github.com/mayamcdougall/freelancer-pico) - # Ported by Maya McDougall (https://github.com/mayamcdougall) - # Based on upstream Freelancer v7.0.4 by Start Bootstrap (https://startbootstrap.com/theme/freelancer) - # Licensed under MIT (https://github.com/mayamcdougall/freelancer-pico/blob/main/LICENSE) - #} +{# SPDX-License-Identifier: EUPL-1.2 #} + {% from "includes/video.twig" import video %}
diff --git a/includes/portfolio_modals.twig b/includes/portfolio_modals.twig index 8a03655..4b75990 100644 --- a/includes/portfolio_modals.twig +++ b/includes/portfolio_modals.twig @@ -1,9 +1,5 @@ -{#! - # Freelancer for Pico v2.0.7 (https://github.com/mayamcdougall/freelancer-pico) - # Ported by Maya McDougall (https://github.com/mayamcdougall) - # Based on upstream Freelancer v7.0.4 by Start Bootstrap (https://startbootstrap.com/theme/freelancer) - # Licensed under MIT (https://github.com/mayamcdougall/freelancer-pico/blob/main/LICENSE) - #} +{# SPDX-License-Identifier: EUPL-1.2 #} + {% from "includes/actions.twig" import actions %} {% from "includes/video.twig" import video %} diff --git a/includes/video.twig b/includes/video.twig index a4a90b9..6370563 100644 --- a/includes/video.twig +++ b/includes/video.twig @@ -1,9 +1,5 @@ -{#! - # Freelancer for Pico v2.0.7 (https://github.com/mayamcdougall/freelancer-pico) - # Ported by Maya McDougall (https://github.com/mayamcdougall) - # Based on upstream Freelancer v7.0.4 by Start Bootstrap (https://startbootstrap.com/theme/freelancer) - # Licensed under MIT (https://github.com/mayamcdougall/freelancer-pico/blob/main/LICENSE) - #} +{# SPDX-License-Identifier: EUPL-1.2 #} + {% macro video(video, image, mode, loop_index=0) %} {% set known_video_types = { "3gp":"video/3gpp", diff --git a/includes/yaml_error.twig b/includes/yaml_error.twig index 59c2221..32b4d47 100644 --- a/includes/yaml_error.twig +++ b/includes/yaml_error.twig @@ -1,9 +1,5 @@ -{#! - # Freelancer for Pico v2.0.7 (https://github.com/mayamcdougall/freelancer-pico) - # Ported by Maya McDougall (https://github.com/mayamcdougall) - # Based on upstream Freelancer v7.0.4 by Start Bootstrap (https://startbootstrap.com/theme/freelancer) - # Licensed under MIT (https://github.com/mayamcdougall/freelancer-pico/blob/main/LICENSE) - #} +{# SPDX-License-Identifier: EUPL-1.2 #} + {% set pages_with_error = [] %} {% for page in pages(depthOffset=-1,depth=null) %} {% if page.meta.YAML_ParseError %}