only load twitch scripts if configured

This commit is contained in:
Yannik Schmidt
2020-08-30 20:38:14 +02:00
parent 711cce0f55
commit ce074ecd1f

View File

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