Lektor plugin to add Tawk to a website.
Project description
# Lektor Tawk
This plugin adds support for Tawk to Lektor. Once the plugin is enabled a render_tawk function will render a Tawk Live Chat.
## Enabling the Plugin
To enable the plugin add this to your project file:
` $ lektor plugins add lektor-tawk `
## Configuring the Plugin
The plugin has a config file that is needed to inform it about your website. Just create a file named tawk.ini into your configs/ folder and configure the live_chat_code key with the ID if your Tawk:
` live_chat_code = your_live_chat_code `
## In Templates
Now you can render to any of your templates by just using the render_tawk function. Just calling it is enough to get the live chat:
` <div>{{ render_tawk }}</div> `
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
Hashes for lektor_tawk-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf48574a0a52c203b5935fa4e5cfb5ed2d81641f35476a5891a1318f13cedaed |
|
MD5 | 824d9dad2e519bcb93b16cb466c12fe5 |
|
BLAKE2b-256 | c31fa7ae8afa804c0b5d72caeae5caad2e9a99ad67f2efabcb83fa523a5dae5c |