fix: updated head tags + cookie-notice config to include matomo variables
This commit is contained in:
parent
f8c5fe9dc9
commit
ec2edd7ba5
2 changed files with 11 additions and 6 deletions
9
config/cookie-notice.php
Normal file
9
config/cookie-notice.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'matomo' => [
|
||||
'site_id' => env('MATOMO_SITE_ID')
|
||||
]
|
||||
];
|
||||
|
|
@ -34,12 +34,8 @@ export default function Head({ title, description }: HeadProps) {
|
|||
<meta property="og:url" content={appEnv.url} />
|
||||
<meta property="og:site_name" content={appEnv.name} />
|
||||
<meta property="og:image" content={appEnv.url + logo} />
|
||||
{description && (
|
||||
<>
|
||||
<meta property="og:description" content={description} />
|
||||
<meta name="description" content={description} />
|
||||
</>
|
||||
)}
|
||||
{description && <meta property="og:description" content={description} />}
|
||||
{description && <meta property="description" content={description} />}
|
||||
{breadcrumbs && breadcrumbs.length > 0 && (
|
||||
<script type="application/ld+json">
|
||||
{JSON.stringify({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue