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
Close
Hashes for lektor-yandex-metrica-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aefcf1497ec81a63dfe4d9f615332f906fab8d249bf10fcb2bfc5bfa3cff8982 |
|
MD5 | c681446de95da837f8712d6464d6018d |
|
BLAKE2b-256 | 51442d0f50db06d1111e7e1f1932cef3b4403c779044f95bd8cca0557bd0d5cd |