Metadata-Version: 2.1
Name: lektor-tawk
Version: 0.1
Summary: Lektor plugin to add Tawk to a website.
Home-page: https://github.com/F0liveira/Lektor-Tawk
Author: Fabio Oliveira
Author-email: lopesoliveirafabio@hotmail.com
License: MIT
Keywords: Lektor plugin
Platform: UNKNOWN
Classifier: Framework :: Lektor
Classifier: Environment :: Plugins
Description-Content-Type: text/markdown

# 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>
```


