async/defer scripts

This commit is contained in:
Yannik Schmidt
2020-08-31 19:05:48 +02:00
parent 94123ece74
commit 953677ad38
2 changed files with 3 additions and 3 deletions

View File

@@ -19,8 +19,8 @@
<link href="/static/toggle_button.css" rel="stylesheet">
<!-- Bootstrap core JS -->
<script src="/static/js/jquery.min.js"></script>
<script src="/static/js/bootstrap.min.js"></script>
<script async src="/static/js/jquery.min.js"></script>
<script async src="/static/js/bootstrap.min.js"></script>
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ conf['SITE_TITLE'] }}" />

View File

@@ -8,7 +8,7 @@
{% 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>
<script defer src="https://sslrelay.atlantishq.de/twitch"></script>
{% endif %}
</head>