From 2d684d4645e32d1fb9601af11029293031a7eaba Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Wed, 13 Apr 2022 16:19:46 +0300 Subject: [PATCH] add Yandex metrika --- mkdist.py | 3 ++- src/index.html | 15 +++++++++++++++ src/yandex_83cad514465f385a.html | 6 ++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 src/yandex_83cad514465f385a.html diff --git a/mkdist.py b/mkdist.py index c013a32..764518f 100755 --- a/mkdist.py +++ b/mkdist.py @@ -22,6 +22,7 @@ if __name__ == '__main__': minified = minified.replace('icon"href', 'icon" href') minified = minified.replace('«', '«') minified = minified.replace('»', '»') + minified = minified.replace('-9999px;"alt', '-9999px;" alt') HTML_SRC = minified # Save HTML @@ -40,7 +41,7 @@ if __name__ == '__main__': file.write(CSS_SRC) # Copy other files - os.popen('cp src/favicon.ico src/humans.txt dist/' ) + os.popen('cp src/favicon.ico src/humans.txt src/yandex_*.html dist/' ) # Make archive os.popen('cd ./dist/; tar -czf ../dist.tar.gz *') diff --git a/src/index.html b/src/index.html index 5086405..7ec0baa 100644 --- a/src/index.html +++ b/src/index.html @@ -79,5 +79,20 @@ new ClipboardJS('.button'); } + + + + + diff --git a/src/yandex_83cad514465f385a.html b/src/yandex_83cad514465f385a.html new file mode 100644 index 0000000..53efd78 --- /dev/null +++ b/src/yandex_83cad514465f385a.html @@ -0,0 +1,6 @@ + + + + + Verification: 83cad514465f385a +