@@ -3,6 +3,7 @@ import { Head } from 'nextra/components'
3
3
import { getPageMap } from 'nextra/page-map'
4
4
import 'nextra-theme-docs/style.css'
5
5
import Image from 'next/image' ;
6
+ import Script from 'next/script' ;
6
7
7
8
export const metadata = {
8
9
title : 'Fastfony Documentation' ,
@@ -35,10 +36,28 @@ export default async function RootLayout({ children }) {
35
36
suppressHydrationWarning
36
37
>
37
38
< Head
38
- // ... Your additional head options
39
- >
40
- { /* Your additional tags should be passed as `children` of `<Head>` element */ }
41
- </ Head >
39
+ children = {
40
+ < >
41
+ < link rel = "apple-touch-icon" sizes = "180x180" href = "/apple-touch-icon.png" />
42
+ < link rel = "icon" type = "image/png" sizes = "32x32" href = "/favicon-32x32.png" />
43
+ < link rel = "icon" type = "image/png" sizes = "16x16" href = "/favicon-16x16.png" />
44
+ < link rel = "manifest" href = "/site.webmanifest" />
45
+ < Script id = "matomo" >
46
+ { `var _paq = window._paq = window._paq || [];
47
+ /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
48
+ _paq.push(['trackPageView']);
49
+ _paq.push(['enableLinkTracking']);
50
+ (function() {
51
+ var u="//matomo.8tier.fr/";
52
+ _paq.push(['setTrackerUrl', u+'matomo.php']);
53
+ _paq.push(['setSiteId', '10']);
54
+ var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
55
+ g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
56
+ })();` }
57
+ </ Script >
58
+ </ >
59
+ }
60
+ />
42
61
< body >
43
62
< Layout
44
63
navbar = { navbar }
0 commit comments