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
File details
Details for the file lektor-yandex-metrica-0.1.2.tar.gz
.
File metadata
- Download URL: lektor-yandex-metrica-0.1.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe94f713c99fe3a5ecd8b056264245985cf2f628c029de67de4e634cd0a8e9eb |
|
MD5 | 88fd7e75a144e46f1791ab211d99580a |
|
BLAKE2b-256 | c9d98164e4e9c80ad2eeab75acd04506427b6c0ded530f727e9f7b4fc39f1b67 |
File details
Details for the file lektor_yandex_metrica-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: lektor_yandex_metrica-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc55ea64ad0c2e1db8c2c28708d2d323add685bf386c44f23b699e44bec923d1 |
|
MD5 | e0b32161343efa497de6c626b723bf73 |
|
BLAKE2b-256 | 1677e41534d6c7421a9c861814b33e3908b229e2bee7fc025675d062e462bafd |