feat: clean up _globals.sample.njk

This commit is contained in:
Bobby 2022-03-04 02:15:17 +07:00
parent f6d85b05ac
commit 5584b6b3df
No known key found for this signature in database
GPG Key ID: 941839794CBF5A09
2 changed files with 11 additions and 3 deletions

View File

@ -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 %}

View File

@ -93,6 +93,7 @@
</article>
{%- endif %}
{% if globals.email -%}
<h3 class="subtitle has-text-white-ter">I saw something too illegal for my tastes here, what should I do?</h3>
<article class="message">
<div class="message-body">
@ -102,6 +103,7 @@
{%- endif %}
</div>
</article>
{%- endif %}
{% if globals.support -%}
<h3 class="subtitle has-text-white-ter">How can I support {{ globals.name }}?</h3>
@ -234,7 +236,9 @@
<article class="message">
<div class="message-body">
Feel free to create a {{ globals.fork_host }} issue <a href="{{ globals.fork_issues }}" target="_blank" rel="noopener">here</a>.</br>
{% if globals.email -%}
If you do not have a {{ globals.fork_host }} account, you can also email <a href="mailto:{{ globals.email }}">{{ globals.email }}</a>.
{%- endif %}
</div>
</article>
{%- endif %}
@ -306,12 +310,14 @@
</article>
{%- endif %}
{% if globals.email -%}
<h3 class="subtitle has-text-white-ter">I still have more unanswered questions!</h3>
<article class="message">
<div class="message-body">
Feel free to email <a href="mailto:{{ globals.email }}">{{ globals.email }}</a>.
</div>
</article>
{%- endif %}
</div>
</section>