forked from rDrama/rDrama
fix prev commit
parent
8c2a41b868
commit
b81eceead5
1
env
1
env
|
@ -35,3 +35,4 @@ export CF_ZONE="blahblahblah"
|
|||
export DEBIAN_FRONTEND="noninteractive"
|
||||
export NODE_VERSION="16.13.0"
|
||||
export NVM_DIR="/root/.nvm"
|
||||
export TELEGRAM_LINK="blahblahblah"
|
||||
|
|
|
@ -40,6 +40,7 @@ MAILGUN_KEY = environ.get("MAILGUN_KEY").strip()
|
|||
DESCRIPTION = environ.get("DESCRIPTION").strip()
|
||||
CF_KEY = environ.get("CF_KEY").strip()
|
||||
CF_ZONE = environ.get("CF_ZONE").strip()
|
||||
TELEGRAM_LINK = environ.get("TELEGRAM_LINK").strip()
|
||||
|
||||
GLOBAL = environ.get("GLOBAL", "").strip()
|
||||
blackjack = environ.get("BLACKJACK", "").strip()
|
||||
|
|
|
@ -48,5 +48,5 @@ def inject_constants():
|
|||
"KOFI_TOKEN":KOFI_TOKEN, "KOFI_LINK":KOFI_LINK,
|
||||
"approved_embed_hosts":approved_embed_hosts,
|
||||
"site_settings":app.config['SETTINGS'],
|
||||
"EMAIL":EMAIL, "calc_users": calc_users
|
||||
"EMAIL":EMAIL, "calc_users": calc_users, "TELEGRAM_LINK": TELEGRAM_LINK
|
||||
}
|
||||
|
|
|
@ -254,7 +254,9 @@
|
|||
|
||||
<a class="dropdown-item" rel="nofollow noopener noreferrer" href="https://rdrama.net/post/18459"><i class="fas fa-bug fa-fw mr-3"></i>Bugs/Suggestions</a>
|
||||
|
||||
<a rel="nofollow noopener noreferrer" class="dropdown-item" href="https://t.me/s/{{SITE.replace('.','')}}"><i class="fab fa-telegram fa-fw mr-3"></i>Telegram Channel</a>
|
||||
{% if TELEGRAM_LINK != 'blahblahblah' %}
|
||||
<a rel="nofollow noopener noreferrer" class="dropdown-item" href="{{TELEGRAM_LINK}}"><i class="fab fa-telegram fa-fw mr-3"></i>Telegram Channel</a>
|
||||
{% endif %}
|
||||
|
||||
{% if SITE_NAME == 'rDrama' %}
|
||||
<a class="dropdown-item" href="/archives"><i class="fas fa-book fa-fw mr-3"></i>Archives</a>
|
||||
|
@ -316,7 +318,9 @@
|
|||
|
||||
<a class="nav-item nav-link" rel="nofollow noopener noreferrer" href="https://rdrama.net/post/18459"><i class="fas fa-bug fa-fw mr-3"></i>Bugs/Suggestions</a>
|
||||
|
||||
<a rel="nofollow noopener noreferrer" class="nav-item nav-link" href="https://t.me/s/{{SITE.replace('.','')}}"><i class="fab fa-telegram fa-fw mr-3"></i>Telegram Channel</a>
|
||||
{% if TELEGRAM_LINK != 'blahblahblah' %}
|
||||
<a rel="nofollow noopener noreferrer" class="nav-item nav-link" href="{{TELEGRAM_LINK}}"><i class="fab fa-telegram fa-fw mr-3"></i>Telegram Channel</a>
|
||||
{% endif %}
|
||||
|
||||
{% if SITE_NAME == 'rDrama' %}<a class="nav-item nav-link" href="/archives"><i class="fas fa-book fa-fw mr-3"></i>Archives</a>{% endif %}
|
||||
<a class="nav-item nav-link" href="/contact"><i class="fas fa-file-signature fa-fw mr-3"></i>Contact us</a>
|
||||
|
|
Loading…
Reference in New Issue