From 8bc1633fa6bd74d64f9273f782f3dc04245a7306 Mon Sep 17 00:00:00 2001 From: Florian Date: Mon, 3 Mar 2025 01:10:32 +0100 Subject: [PATCH] Added jekyll readme index plugin and added TOS and Disclaimer --- .gitea/PULL_REQUEST_TEMPLATE.md | 35 ++++++++++++++++++++++++ .gitea/workflows/02-jekyll-pages.yml | 5 ---- DISCLAIMER.md | 28 +++++++++++++++++++ Gemfile | 1 + Gemfile.lock | 3 ++ TERMS_OF_SERVICE.md | 41 ++++++++++++++++++++++++++++ _config.yml | 1 + 7 files changed, 109 insertions(+), 5 deletions(-) create mode 100644 .gitea/PULL_REQUEST_TEMPLATE.md create mode 100644 DISCLAIMER.md create mode 100644 TERMS_OF_SERVICE.md diff --git a/.gitea/PULL_REQUEST_TEMPLATE.md b/.gitea/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..725f12e --- /dev/null +++ b/.gitea/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,35 @@ +## 📌 Subdomain Request + +### ✅ Checklist + +Before submitting this pull request, please confirm the following: + +- [ ] I have read and agreed to the Terms of Service. +- [ ] My subdomain follows the naming conventions and does not violate any reserved names. +- [ ] I understand that my subdomain may be removed if it violates the rules. + +--- + +### 📄 Subdomain Details + +**Requested Subdomain:** +(e.g., `mycoolsite.morlana.page`) + +**Target (CNAME):** +(e.g., `example.com`) + +**Enable Cloudflare Proxy?** +(Yes / No) + +**Additional Notes (Optional):** +(Any extra information about your request) + +--- + +### â„šī¸ Additional Information + +- Subdomains are subject to review and approval. +- If your request is invalid or missing details, it may be rejected. +- The maintainers have the right to revoke any subdomain at their discretion. + +Thank you for your request! 🚀 diff --git a/.gitea/workflows/02-jekyll-pages.yml b/.gitea/workflows/02-jekyll-pages.yml index 568cdac..4c23407 100644 --- a/.gitea/workflows/02-jekyll-pages.yml +++ b/.gitea/workflows/02-jekyll-pages.yml @@ -52,11 +52,6 @@ jobs: rvm use $RUBY_VERSION && ruby -v && gem -v gem install bundler jekyll webrick - - name: Prepare Jekyll Index - run: | - echo "---\nlayout: default\ntitle: Documentation\n---\n\n" > index.md - cat README.md >> index.md - - name: Build with Jekyll run: | source /etc/profile.d/rvm.sh diff --git a/DISCLAIMER.md b/DISCLAIMER.md new file mode 100644 index 0000000..e129840 --- /dev/null +++ b/DISCLAIMER.md @@ -0,0 +1,28 @@ +# Liability Disclaimer for morlana.page Subdomains + +## 1. No Guarantee or Warranty + +- This service is provided **as-is** with no warranty of any kind. +- There is **no guarantee** of uptime, stability, or continued operation. + +## 2. User Responsibility + +- Users are **solely responsible** for the content and usage of their subdomains. +- The maintainers of `morlana.page` **are not liable** for any damages resulting from the use or removal of a subdomain. + +## 3. Content Responsibility + +- The maintainers **do not monitor** or review the content hosted under subdomains. +- If a subdomain is reported for violating laws, it may be **removed without notice**. + +## 4. Right to Modify or Remove Subdomains + +- The maintainers reserve the right to **modify, suspend, or delete** any subdomain at their discretion. +- If a subdomain is found to be abusive or misleading, it will be taken down. + +## 5. Legal Compliance + +- Users must comply with all applicable laws and regulations. +- The service **will not be held liable** for any illegal or harmful use of a subdomain. + +By using a `morlana.page` subdomain, you acknowledge and accept this disclaimer. diff --git a/Gemfile b/Gemfile index 92b0107..13c2400 100644 --- a/Gemfile +++ b/Gemfile @@ -17,6 +17,7 @@ gem "minima", "~> 2.5" group :jekyll_plugins do gem "jekyll-feed", "~> 0.12" gem "jekyll-remote-theme" + gem "jekyll-readme-index" end # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/Gemfile.lock b/Gemfile.lock index 393f5bc..279fe50 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -61,6 +61,8 @@ GEM webrick (~> 1.7) jekyll-feed (0.17.0) jekyll (>= 3.7, < 5.0) + jekyll-readme-index (0.3.0) + jekyll (>= 3.0, < 5.0) jekyll-remote-theme (0.4.3) addressable (~> 2.0) jekyll (>= 3.5, < 5.0) @@ -179,6 +181,7 @@ DEPENDENCIES http_parser.rb (~> 0.6.0) jekyll (~> 4.3.4) jekyll-feed (~> 0.12) + jekyll-readme-index jekyll-remote-theme minima (~> 2.5) tzinfo (>= 1, < 3) diff --git a/TERMS_OF_SERVICE.md b/TERMS_OF_SERVICE.md new file mode 100644 index 0000000..313063c --- /dev/null +++ b/TERMS_OF_SERVICE.md @@ -0,0 +1,41 @@ +# Terms of Service for morlana.page Subdomains + +_Last updated: March 3, 2025_ + +## 1. Acceptance of Terms + +By requesting and using a subdomain under `morlana.page`, you agree to these Terms of Service. If you do not agree, you may not use this service. + +## 2. Free Service Disclaimer + +- This service is provided **free of charge** on a best-effort basis. +- There is **no guarantee of uptime, performance, or continued availability**. +- The maintainers may **suspend or revoke** any subdomain at any time. + +## 3. Allowed Usage + +- Subdomains must **not** be used for illegal, fraudulent, misleading, or malicious activities. +- You may only request subdomains for **legitimate websites or services**. +- No phishing, spam, malware, or harmful content is allowed. +- Subdomains **must not impersonate** official brands, companies, or individuals. + +## 4. Reserved & Restricted Subdomains + +- Some subdomains are **reserved** for administrative or official use. +- Requests for these subdomains will be **automatically rejected**. +- The maintainers may add or remove reserved names at any time. + +## 5. Liability Disclaimer + +- The maintainers **do not** take responsibility for the content hosted under any subdomain. +- You are **fully responsible** for any legal issues arising from your subdomain. +- If a subdomain is found in violation of these terms, it may be removed without notice. + +## 6. Modifications to These Terms + +- These terms may be updated at any time without prior notice. +- Continued use of a subdomain after updates constitutes acceptance of the revised terms. + +--- + +If you have any questions regarding these terms, please contact the maintainers. diff --git a/_config.yml b/_config.yml index a0b4edb..706ec97 100644 --- a/_config.yml +++ b/_config.yml @@ -10,3 +10,4 @@ show_downloads: false remote_theme: pages-themes/midnight@v0.2.0 plugins: - jekyll-remote-theme +- jekyll-readme-index