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