@@ -4,15 +4,34 @@ import ru from './ru.mjs'
4
4
5
5
export default defineConfig ( {
6
6
locales : {
7
- root : { label : 'English ' , ...en } ,
8
- ru : { label : 'Русский ' , ...ru }
7
+ root : { label : 'Русский ' , ...ru } ,
8
+ en : { label : 'English ' , ...en } ,
9
9
} ,
10
- head : [ [ 'link' , { rel : 'icon' , href : '/favicon.png' } ] ] ,
11
10
themeConfig : {
12
11
logo : { src : '/favicon.png' , width : 24 , height : 24 } ,
13
12
14
13
} ,
15
14
markdown : {
16
15
lineNumbers : true
17
- }
16
+ } ,
17
+ head : [
18
+ [ 'link' , { rel : 'icon' , href : '/favicon.png' } ] ,
19
+ [
20
+ "script" ,
21
+ { } ,
22
+ " (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};\n" +
23
+ " m[i].l=1*new Date();\n" +
24
+ " for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}\n" +
25
+ " k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})\n" +
26
+ " (window, document, \"script\", \"https://mc.yandex.ru/metrika/tag.js\", \"ym\");\n" +
27
+ "\n" +
28
+ " ym(99065764, \"init\", {\n" +
29
+ " clickmap:true,\n" +
30
+ " trackLinks:true,\n" +
31
+ " accurateTrackBounce:true\n" +
32
+ " });"
33
+ ] ,
34
+ [ "noscript" , { } ,
35
+ "<div><img src=\"https://mc.yandex.ru/watch/99065764\" style=\"position:absolute; left:-9999px;\" alt=\"\" /></div>" ]
36
+ ]
18
37
} )
0 commit comments