mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-15 12:14:19 +00:00
Remove GH buttons and GA temporarily for dev
This commit is contained in:
1 parent
248fdef37a
commit
74d7da548e
1 file changed
+3
-4
@@ -1,11 +1,10 @@
|
|||||||
<!-- <script src="/js/vendor/jquery-2.2.4.min.js"></script> -->
|
<!-- <script src="/js/vendor/jquery-2.2.4.min.js"></script> -->
|
||||||
<script src="/js/script.min.js" async defer></script>
|
<script src="/js/script.min.js" async defer></script>
|
||||||
|
|
||||||
{{$gaid := .Site.Params.googleanalyticstrackingcode }}
|
{{$gaid := .Site.Params.googleanalyticstrackingcode }}
|
||||||
<!-- GitHub Buttons -->
|
<!-- GitHub Buttons -->
|
||||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
<!-- <script async defer src="https://buttons.github.io/buttons.js"></script> -->
|
||||||
<!-- Google Analytics -->
|
<!-- Google Analytics -->
|
||||||
<script>
|
<!-- <script>
|
||||||
(function() {
|
(function() {
|
||||||
if (window.location.hostname === "localhost") {
|
if (window.location.hostname === "localhost") {
|
||||||
console.log("Analytics not running on local dev.");
|
console.log("Analytics not running on local dev.");
|
||||||
@@ -30,7 +29,7 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
</script>
|
</script> -->
|
||||||
<!-- Algolia embed -->
|
<!-- Algolia embed -->
|
||||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|||||||
Reference in new issue
Block a user