diff --git a/views/_globals.njk b/views/_globals.njk index acbd4a4..f03d391 100644 --- a/views/_globals.njk +++ b/views/_globals.njk @@ -17,11 +17,14 @@ {% set fork_issues = fork_repo + "/issues/new/choose" %} {% set takedowns_url = "https://safe.fiery.me/takedowns" %} -{% set server_location = "Paris, France" %} {# HTML supported #} -{% set support = 'Thanks! You can become a patron on my Patreon!' %} {# HTML supported #} +{% set server_location = "Singapore" %} {# HTML supported #} +{% set support = false %} {# HTML supported #} -{% set enable_faq_banned_categories = true %} -{% set enable_faq_tor = true %} +{% set enable_faq_banned_categories = false %} +{% set enable_faq_tor = false %} + +{# Enabling the option below will hide FAQ categories which are irrelevant for personal installation #} +{% set is_for_personal_use = true %} {# These are the footer links in the homepage and the No-JS uploader (home.njk & nojs.njk respectively). diff --git a/views/faq.njk b/views/faq.njk index dd5a94b..71a71cb 100644 --- a/views/faq.njk +++ b/views/faq.njk @@ -53,6 +53,7 @@ {%- endif %} + {% if not globals.is_for_personal_use -%}

Will you keep my uploads forever?

@@ -90,12 +91,15 @@ I don't know.
+ {%- endif %}

I saw something too illegal for my tastes here, what should I do?

Send a strongly worded email to {{ globals.email }} and I will try to get back to you within 48 hours.
+ {% if globals.enable_faq_banned_categories -%} These include copyright takedown notices and reports about uploads violating banned categories. + {%- endif %}
@@ -114,6 +118,7 @@

Technical

+ {% if not globals.is_for_personal_use -%}

What are the allowed extensions here?

@@ -139,6 +144,7 @@ There had been too many phishing pages being uploaded in the past.
+ {%- endif %} {% if globals.server_location -%}

Where is the server located?

@@ -153,7 +159,7 @@ {%- endif %} - {% if config.cloudflare.purgeCache -%} + {% if config.cloudflare.purgeCache and not globals.is_for_personal_use -%}

Since my uploads are cached, what about after I delete them from the dashboard?

@@ -178,7 +184,7 @@

Are there any Desktop clients?

- We do have some browser extensions:
+ We do have some browser extensions to assist uploads:
Firefox extension. Maintained by me. Its GitHub repository is located here.
Chrome extension. Maintained by lolisafe's team. Its GitHub repository is located here.
With the Chrome extension specifically, you will have to manually set the domain in the extension's settings to https://safe.fiery.me.
@@ -223,7 +229,7 @@
{%- endif %} - {% if globals.fork_repo -%} + {% if globals.fork_repo and not globals.is_for_personal_use -%}

I found a bug! -or- I want to request a feature!

@@ -233,6 +239,7 @@
{%- endif %} + {% if not globals.is_for_personal_use -%}

How do I delete my own account and all the uploads associated with it?

@@ -241,6 +248,7 @@ Otherwise, if you do not mind a record of your username being left here, it should be easy to bulk delete all your uploads from the Dashboard anyway.
+ {%- endif %}
@@ -248,6 +256,7 @@

Privacy

+ {% if not globals.is_for_personal_use -%}

What information is kept with uploads?

@@ -273,6 +282,7 @@ My safe have been plagued by aplenty of abuse, so this policy will remain as long as the safe lives on.
+ {%- endif %}

Does the server have some sort of access logs?