Files
OpenBB/docs/_templates/layout.html
Theodore Aptekarev f661f5ff31 Add analytics beacons to hugo and readthedocs (#917)
* Test integrating cloudflare analytics with readthedocs

* Harmonize tensorflow and keras versions

* Move beacon to the layout footer

* Add write permissions when opening the layout to patch beacon token

* Add cloudflare beacon to hugo website

* Test token injection during website build action

* WIP fix actions syntax

* Pass beacon token as env variable

* WIP debug variables in runner env

* Fix quotes for sed to work

* Clean up dev artifacts from gh-pages action
2021-11-09 21:48:26 +03:00

12 lines
260 B
HTML
Vendored

{% extends '!layout.html' %}
{% block footer %}
<!-- Cloudflare Web Analytics -->
<script
defer
src='https://static.cloudflareinsights.com/beacon.min.js'
data-cf-beacon='{"token": "{{BEACON}}"}'>
</script>
<!-- End Cloudflare Web Analytics -->
{% endblock %}