This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

# lektor-disqus-comments

This plugin adds support for Disqus comments to Lektor. Once the plugin is enabled a render_disqus_comments function which can render a disqus comment box.

## Enabling the Plugin

To enable the plugin add this to your project file:

`ini [packages] lektor-disqus-comments = 0.1 `

## Configuring the Plugin

The plugin has a config file that is needed to inform it about your website. Just create a file named disqus-comments.ini into your configs/ folder and configure the shortname key with the name of your disqus community:

`ini shortname = YOUR_SHORTNAME `

## In Templates

Now you can add a discussion box to any of your templates by just using the render_disqus_comments function. Just calling it is enough to get the comment box:

`html <div class="comments">{{ render_disqus_comments() }}</div> `

Optionally the function accepts a few arguemnts:

  • identifier and url can be used to forcefully override the automatically detected defaults.
  • title can be used to set a title for the discussion that overrides the title that disqus takes from the page’s title tag otherwise.
  • category_id sets the category id. Look at the disqus documentation for more information.
Release History

Release History

0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
lektor_disqus_comments-0.2-py2-none-any.whl (3.3 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Dec 25, 2015
lektor-disqus-comments-0.2.tar.gz (3.2 kB) Copy SHA256 Checksum SHA256 Source Dec 25, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting