1
0
mirror of https://github.com/bitwarden/docs synced 2026-01-03 16:53:12 +00:00

migrate api docs to main website path

This commit is contained in:
Kyle Spearrin
2020-05-05 10:46:46 -04:00
parent c25018749a
commit e7588bbb51
10 changed files with 80 additions and 333 deletions

View File

@@ -19,6 +19,7 @@
<body>
{{content}}
{% if jekyll.environment == "production" %}
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
@@ -27,7 +28,7 @@
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-81915606-21', 'auto');
ga('create', 'UA-81915606-4', 'auto');
ga('send', 'pageview');
function gaEvent(action) {
@@ -38,6 +39,13 @@
});
}
</script>
{% else %}
<script>
function gaEvent(action) {
// do nothing
}
</script>
{% endif %}
</body>
</html>