mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-09 01:08:32 +01:00
only load twitch scripts if configured
This commit is contained in:
@@ -5,9 +5,11 @@
|
|||||||
|
|
||||||
{% include 'head.html' %}
|
{% include 'head.html' %}
|
||||||
|
|
||||||
|
{% if conf["TWITCH_CHANNEL"] %}
|
||||||
<!-- Load the Twitch embed script -->
|
<!-- Load the Twitch embed script -->
|
||||||
<!-- <script src="https://embed.twitch.tv/embed/v1.js"></script> -->
|
<!-- <script src="https://embed.twitch.tv/embed/v1.js"></script> -->
|
||||||
<script src="https://sslrelay.atlantishq.de/twitch"></script>
|
<script src="https://sslrelay.atlantishq.de/twitch"></script>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Reference in New Issue
Block a user