Revised terms and privacy consent dialog, analytics hooks (#1426)

* revised terms and privacy consent

* reorg code

* fix conditional

* Overlay reflects un-dissmissable state

* add inline scripts, and consent callback

* add csp_directive config hook

* revert config.yaml

* fix logic error

Co-authored-by: Colin Megill <colinmegill@gmail.com>
This commit is contained in:
Bruce Martin
2020-04-28 14:21:53 -07:00
committed by GitHub
co-authored by Colin Megill
parent 666e6d9849
commit 05fcdaf93c
7 changed files with 184 additions and 48 deletions
+3
View File
@@ -53,5 +53,8 @@
{% for script in SCRIPTS %}
<script type="text/javascript" src="{{script | safe}}"></script>
{% endfor %}
{% for ils in INLINE_SCRIPTS %}
<script type="text/javascript">{% include ils %}</script>
{% endfor %}
</body>
</html>