Skip to main content

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

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lektor-tawk-0.1.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

lektor_tawk-0.1-py2.py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page