From 46223ee8b133b6586ee2f0fe842719deb51745ef Mon Sep 17 00:00:00 2001 From: nevfy Date: Mon, 29 Apr 2024 17:09:28 +0300 Subject: [PATCH 1/2] fix: privacy policy --- config.toml | 1 - content/en/docs/Theory/SelfPrivacy automation.md | 2 +- content/en/{privacy-policy.md => policy/_index.md} | 12 ++---------- .../ru/{docs/About us/policy.md => policy/_index.md} | 2 +- layouts/partials/footer.html | 2 +- 5 files changed, 5 insertions(+), 14 deletions(-) rename content/en/{privacy-policy.md => policy/_index.md} (97%) rename content/ru/{docs/About us/policy.md => policy/_index.md} (99%) diff --git a/config.toml b/config.toml index 50ef071..388d819 100644 --- a/config.toml +++ b/config.toml @@ -77,7 +77,6 @@ section = ["HTML", "print", "RSS"] [params] copyright = "SelfPrivacy" -privacy_policy = "https://selfprivacy.org/privacy-policy/" # First one is picked as the Twitter card image if not set on page. # images = ["images/project-illustration.png"] diff --git a/content/en/docs/Theory/SelfPrivacy automation.md b/content/en/docs/Theory/SelfPrivacy automation.md index 6d98c1e..85976ae 100644 --- a/content/en/docs/Theory/SelfPrivacy automation.md +++ b/content/en/docs/Theory/SelfPrivacy automation.md @@ -102,4 +102,4 @@ We are working to ensure that the general configuration of SelfPrivacy can be ex All transactions take place between your application, your server, and your service providers without SelfPrivacy being involved. Your copy of SelfPrivacy App is completely autonomous and independent in managing your infrastructure. No information about your interactions with your infrastructure reaches SelfPrivacy. All backups of your services leave your server in a fully encrypted form. -You can read more about this in our [privacy policy]({{< ref "policy.md" >}}). +You can read more about this in our [privacy policy]({{< ref "policy/_index.md" >}}). diff --git a/content/en/privacy-policy.md b/content/en/policy/_index.md similarity index 97% rename from content/en/privacy-policy.md rename to content/en/policy/_index.md index 0be808d..5a9422c 100644 --- a/content/en/privacy-policy.md +++ b/content/en/policy/_index.md @@ -1,13 +1,7 @@ --- title: "Privacy Policy" date: 2023-05-15 -weight: 4 ---- - -{{< blocks/section color="white" type="section" >}} - -# Privacy policy - +type: "docs" --- **Last updated: May 15, 2023** @@ -60,6 +54,4 @@ If you have any questions or concerns about our Privacy Policy or the collection *We are pleased to offer this Privacy Policy under Creative Commons Zero license as a template that can be used by anyone in the open-source community. We hope that this contribution will help to support the development of privacy policies that promote transparency, accountability, and respect for the privacy of individuals. As part of our commitment to open-source values, we believe in sharing knowledge and resources to foster innovation and collaboration. Therefore, we encourage others to adapt and modify our privacy policy to meet their specific needs, while ensuring that they comply with applicable laws and regulations.* -![Licensed under CC0](/images/icons/cc-zero.svg) - -{{< /blocks/section >}} +![Licensed under CC0](/images/icons/cc-zero.svg) \ No newline at end of file diff --git a/content/ru/docs/About us/policy.md b/content/ru/policy/_index.md similarity index 99% rename from content/ru/docs/About us/policy.md rename to content/ru/policy/_index.md index 7468129..620baf9 100644 --- a/content/ru/docs/About us/policy.md +++ b/content/ru/policy/_index.md @@ -1,7 +1,7 @@ --- title: "Политика" date: 2023-04-23 -weight: 5 +type: "docs" description: > Наши принципы и политика --- diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 568add8..0c86972 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -19,7 +19,7 @@
  • {{ T "footer_available_services"}}
  • {{ T "footer_user_guide" }}
  • {{ T "footer_blog" }}
  • - {{ with .Site.Params.privacy_policy }}
  • {{ T "footer_privacy_policy" }}
  • {{ end }} +
  • {{ T "footer_privacy_policy" }}
  • {{ T "footer_get_help" }}

    From c46e9bb2ac4e022c62252b645ed6ed7327ef1bb9 Mon Sep 17 00:00:00 2001 From: nevfy Date: Mon, 29 Apr 2024 17:34:19 +0300 Subject: [PATCH 2/2] fix: rename folder --- content/en/docs/Theory/SelfPrivacy automation.md | 2 +- content/en/{policy => privacy-policy}/_index.md | 0 content/ru/docs/Theory/SelfPrivacy automation.md | 2 +- content/ru/{policy => privacy-policy}/_index.md | 0 layouts/partials/footer.html | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename content/en/{policy => privacy-policy}/_index.md (100%) rename content/ru/{policy => privacy-policy}/_index.md (100%) diff --git a/content/en/docs/Theory/SelfPrivacy automation.md b/content/en/docs/Theory/SelfPrivacy automation.md index 85976ae..1473a51 100644 --- a/content/en/docs/Theory/SelfPrivacy automation.md +++ b/content/en/docs/Theory/SelfPrivacy automation.md @@ -102,4 +102,4 @@ We are working to ensure that the general configuration of SelfPrivacy can be ex All transactions take place between your application, your server, and your service providers without SelfPrivacy being involved. Your copy of SelfPrivacy App is completely autonomous and independent in managing your infrastructure. No information about your interactions with your infrastructure reaches SelfPrivacy. All backups of your services leave your server in a fully encrypted form. -You can read more about this in our [privacy policy]({{< ref "policy/_index.md" >}}). +You can read more about this in our [privacy policy]({{< ref "/privacy-policy/" >}}). diff --git a/content/en/policy/_index.md b/content/en/privacy-policy/_index.md similarity index 100% rename from content/en/policy/_index.md rename to content/en/privacy-policy/_index.md diff --git a/content/ru/docs/Theory/SelfPrivacy automation.md b/content/ru/docs/Theory/SelfPrivacy automation.md index fd502ad..1f0fe84 100644 --- a/content/ru/docs/Theory/SelfPrivacy automation.md +++ b/content/ru/docs/Theory/SelfPrivacy automation.md @@ -89,4 +89,4 @@ __*Ручные операции*__ ## Система очень сложная, почему она приватная? В отличие от Cloudron, наших коммерческих единомышленников, все операции происходят между вашим приложением, вашим сервером и вашими сервис-провадерами без участия SelfPrivacy. Ваша копия SelfPrivacy App полностью автономна и независима в управлении вашей инфраструктурой. Никакая информация о вашем взаимодействии с вашей инфраструктурой не попадает к SelfPrivacy. Все резервные копии ваших сервисов покидают ваш сервер в полностью зашифрованном виде. -Подробнее об этом, вы можете прочитать в [политике приватности]({{< ref "policy.md" >}}). \ No newline at end of file +Подробнее об этом, вы можете прочитать в [политике приватности]({{< ref "/privacy-policy/" >}}). \ No newline at end of file diff --git a/content/ru/policy/_index.md b/content/ru/privacy-policy/_index.md similarity index 100% rename from content/ru/policy/_index.md rename to content/ru/privacy-policy/_index.md diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0c86972..009d638 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -19,7 +19,7 @@
  • {{ T "footer_available_services"}}
  • {{ T "footer_user_guide" }}
  • {{ T "footer_blog" }}
  • -
  • {{ T "footer_privacy_policy" }}
  • +
  • {{ T "footer_privacy_policy" }}
  • {{ T "footer_get_help" }}