Adds support for Yandex Metrica to Lektor CMS
Project description
This plugin adds support for Yandex Metrica to Lektor CMS
Enabling the Plugin
lektor plugins add lektor-yandex-metrica
Configuring the Plugin
Just create a file named yandex-metrica.ini
in your configs/
folder and configure id
key with the provided counter id:
id = YOUR_COUNTER_ID
In Templates
Now you can add a Yandex Metrica counter to any of your templates by just using the generate_yandex_metrica
function in its tag as below.
{{ generate_yandex_metrica() }}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for lektor-yandex-metrica-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a9446097526e00d9e97c9baed0aaf33793cbe363a6b54253945d22486310fa2 |
|
MD5 | 64c28a7ba77c9b1a69958545512822b1 |
|
BLAKE2b-256 | dfb2aa4d22a2fb4e75045bc83976756f37ca0f605ec296be9183b4cd1147d83a |
Close
Hashes for lektor_yandex_metrica-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0112c126c903750e8cc8e9db502974c3a2fc9c660bc67cb1e238efc6b8f79677 |
|
MD5 | 85c3581fa97ea1954edb6200d913f73b |
|
BLAKE2b-256 | 56ee835d0a101dbaf469ea3c4f0ceebae0d2fa6befec4a33f8ad28b6bc2ebdee |