This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user