Skip to content

Commit

Permalink
Restore Cloudflare
Browse files Browse the repository at this point in the history
  • Loading branch information
fvanroie committed Dec 9, 2023
1 parent 8855232 commit b2c671b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion custom_theme/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
xhr.onload = function() {
var versions = JSON.parse(this.responseText);
latest_version = ""
dev_version = "/0.0.0/"
dev_version = ""
for (id in versions) {
if (versions[id]["aliases"].length > 0 && versions[id]["aliases"].includes("latest")) {
latest_version = "/" + versions[id].version + "/";
Expand All @@ -66,4 +66,7 @@
xhr.send();
});
</script>
<!-- Cloudflare Web Analytics -->
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "d4bec0b78f6840c1afe0d7d21896a2e9"}'></script>
<!-- End Cloudflare Web Analytics -->
{% endblock scripts %}

0 comments on commit b2c671b

Please sign in to comment.