Added umami analytics to HTML template.
This commit is contained in:
parent
408821e0bc
commit
6aa3b0e7f6
|
@ -66,6 +66,8 @@ async function onRenderHtml(pageContext) {
|
||||||
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0,interactive-widget=resizes-content" />
|
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0,interactive-widget=resizes-content" />
|
||||||
<meta name="description" content="${desc}" />
|
<meta name="description" content="${desc}" />
|
||||||
|
|
||||||
|
${config.analytics.enabled ? dangerouslySkipEscape(`<script src="${config.analytics.address}" data-website-id="${config.analytics.siteId}" async></script>`) : ''}
|
||||||
|
|
||||||
<title>${title}</title>
|
<title>${title}</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in New Issue