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:
$ lektor plugins add lektor-disqus-comments
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:
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:
<div class="comments">{{ render_disqus_comments() }}</div>
Optionally the function accepts a few arguemnts:
identifierandurlcan be used to forcefully override the automatically detected defaults.titlecan be used to set a title for the discussion that overrides the title that disqus takes from the page's title tag otherwise.category_idsets the category id. Look at the disqus documentation for more information.
Metadata
Release files for lektor-disqus-comments 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lektor-disqus-comments-0.4.1.tar.gz | 3.7 kB | Without provenance | Details for lektor-disqus-comments-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lektor_disqus_comments-0.4.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for lektor_disqus_comments-0.4.1-py2.py3-none-any.whl |
Total release size: 8.0 kB
Release files / lektor-disqus-comments-0.4.1.tar.gz
| Download URL | lektor-disqus-comments-0.4.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d36edb4e6131fa583f40fa18fc45e849c05e098e290aadfc609d0a31d2d26c7a
|
|
BLAKE2b-256 checksum How to use checksums |
61097595da16471e1626d5012f3483b2568aee7981b85a5a67a96fb0023c10ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1
|
Release files / lektor_disqus_comments-0.4.1-py2.py3-none-any.whl
| Download URL | lektor_disqus_comments-0.4.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8d48c6b370862a6488a1742a53ae62e0562a8cbd3ccd03bab89bdb7244998975
|
|
BLAKE2b-256 checksum How to use checksums |
f71d7e3a116a9675614c17147ef9e8bf228b31997c8b08626f869dd02f4e60c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1
|
Security for lektor-disqus-comments 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.