This commit is contained in:
parent
691755ac0b
commit
3a4307e24d
@ -1,4 +1,4 @@
|
||||
import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types"
|
||||
import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types";
|
||||
|
||||
const YandexMetrika: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => {
|
||||
const embedScript = `
|
||||
@ -13,7 +13,7 @@ const YandexMetrika: QuartzComponent = ({ displayClass, cfg }: QuartzComponentPr
|
||||
trackLinks: true,
|
||||
accurateTrackBounce: true
|
||||
});
|
||||
`
|
||||
`;
|
||||
|
||||
return (
|
||||
<>
|
||||
@ -28,7 +28,7 @@ const YandexMetrika: QuartzComponent = ({ displayClass, cfg }: QuartzComponentPr
|
||||
</div>
|
||||
</noscript>
|
||||
</>
|
||||
)
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
export default (() => YandexMetrika) satisfies QuartzComponentConstructor
|
||||
export default (() => YandexMetrika) satisfies QuartzComponentConstructor;
|
Loading…
Reference in New Issue
Block a user