aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/templates/base.html')
-rw-r--r--youtube/templates/base.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/youtube/templates/base.html b/youtube/templates/base.html
index 4ab722d..8795027 100644
--- a/youtube/templates/base.html
+++ b/youtube/templates/base.html
@@ -13,6 +13,14 @@
{% block style %}
{{ style }}
{% endblock %}
+
+ {% if js_data %}
+ <script>
+ // @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
+ data = {{ js_data|tojson }};
+ // @license-end
+ </script>
+ {% endif %}
</head>
<body>