Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
lektor-disqus-comments
Advanced tools
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.
To enable the plugin add this to your project file:
$ lektor plugins add lektor-disqus-comments
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:
shortname = YOUR_SHORTNAME
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:
<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.FAQs
Lektor plugin to add Disqus comments to a website.
We found that lektor-disqus-comments demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.