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 YandexMetrika: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => {
|
||||||
const embedScript = `
|
const embedScript = `
|
||||||
@ -13,7 +13,7 @@ const YandexMetrika: QuartzComponent = ({ displayClass, cfg }: QuartzComponentPr
|
|||||||
trackLinks: true,
|
trackLinks: true,
|
||||||
accurateTrackBounce: true
|
accurateTrackBounce: true
|
||||||
});
|
});
|
||||||
`
|
`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
@ -28,7 +28,7 @@ const YandexMetrika: QuartzComponent = ({ displayClass, cfg }: QuartzComponentPr
|
|||||||
</div>
|
</div>
|
||||||
</noscript>
|
</noscript>
|
||||||
</>
|
</>
|
||||||
)
|
);
|
||||||
}
|
};
|
||||||
|
|
||||||
export default (() => YandexMetrika) satisfies QuartzComponentConstructor
|
export default (() => YandexMetrika) satisfies QuartzComponentConstructor;
|
Loading…
Reference in New Issue
Block a user