From 5584b6b3df20c2a4c157dbe0eb3017045ea98c23 Mon Sep 17 00:00:00 2001 From: Bobby Date: Fri, 4 Mar 2022 02:15:17 +0700 Subject: [PATCH] feat: clean up _globals.sample.njk --- views/_globals.sample.njk | 8 +++++--- views/faq.njk | 6 ++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/views/_globals.sample.njk b/views/_globals.sample.njk index f03d391..0f680b0 100644 --- a/views/_globals.sample.njk +++ b/views/_globals.sample.njk @@ -10,14 +10,16 @@ {% set root_domain = "fiery.me" %} {% set whole_faq = root_domain + " website and sub-domains" %} {% set whole_cookie = "This site and " + root_domain + " website and sub-domains" %} -{% set email = "bobby@fiery.me" %} +{% set email = false %} {% set fork_repo = "https://github.com/BobbyWibowo/lolisafe" %} {% set fork_host = "GitHub" %} {% set fork_issues = fork_repo + "/issues/new/choose" %} -{% set takedowns_url = "https://safe.fiery.me/takedowns" %} -{% set server_location = "Singapore" %} {# HTML supported #} +{% set takedowns_url = false %} +{% set server_location = false %} {# HTML supported #} + +{# Donation, funding support, or such #} {% set support = false %} {# HTML supported #} {% set enable_faq_banned_categories = false %} diff --git a/views/faq.njk b/views/faq.njk index 71a71cb..bcb7fd4 100644 --- a/views/faq.njk +++ b/views/faq.njk @@ -93,6 +93,7 @@ {%- endif %} + {% if globals.email -%}

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

@@ -102,6 +103,7 @@ {%- endif %}
+ {%- endif %} {% if globals.support -%}

How can I support {{ globals.name }}?

@@ -234,7 +236,9 @@
Feel free to create a {{ globals.fork_host }} issue here.
+ {% if globals.email -%} If you do not have a {{ globals.fork_host }} account, you can also email {{ globals.email }}. + {%- endif %}
{%- endif %} @@ -306,12 +310,14 @@ {%- endif %} + {% if globals.email -%}

I still have more unanswered questions!

Feel free to email {{ globals.email }}.
+ {%- endif %}