chore: tipadoa konpontzen du
This commit is contained in:
1 parent
3b47191d78
commit
7f3dfafe9d
2 files changed
+9
-3
No files matched your search
@@ -2,7 +2,7 @@
|
|||||||
import "../style/fonts.css";
|
import "../style/fonts.css";
|
||||||
import "../style/global.css";
|
import "../style/global.css";
|
||||||
|
|
||||||
import { SITE_TITLE, SITE_DESCRIPTION } from "../config";
|
import { SITE_TITLE } from "../config";
|
||||||
|
|
||||||
const { title, description, image = "/home-blog-card.png" } = Astro.props;
|
const { title, description, image = "/home-blog-card.png" } = Astro.props;
|
||||||
---
|
---
|
||||||
@@ -64,7 +64,7 @@ const { title, description, image = "/home-blog-card.png" } = Astro.props;
|
|||||||
s = d.getElementsByTagName("script")[0];
|
s = d.getElementsByTagName("script")[0];
|
||||||
g.async = true;
|
g.async = true;
|
||||||
g.src = u + "matomo.js";
|
g.src = u + "matomo.js";
|
||||||
s.parentNode.insertBefore(g, s);
|
s.parentNode?.insertBefore(g, s);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
<!-- End Matomo Code -->
|
<!-- End Matomo Code -->
|
||||||
|
|||||||
Vendored
+7
-1
@@ -1 +1,7 @@
|
|||||||
/// <reference types="astro/client" />
|
/// <reference types="astro/client" />
|
||||||
|
|
||||||
|
type MatomoCommand = [command: string, ...args: (string | number | boolean)[]];
|
||||||
|
|
||||||
|
interface Window {
|
||||||
|
_paq?: MatomoCommand[];
|
||||||
|
}
|
||||||
Reference in new issue
Block a user