Socket
Book a DemoInstallSign in
Socket

eleventy-plugin-jam-comments

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eleventy-plugin-jam-comments

The official plugin for integrating JamComments into your Eleventy site.

0.0.4
latest
npmnpm
Version published
Maintainers
1
Created
Source

eleventy-plugin-jam-comments

The official plugin for integrating JamComments into your Eleventy site.

Prerequisites

In order to use this plugin, you'll need a JamComments account, where you'll also need to have created a site and generated an API key.

Installation

Run npm install eleventy-plugin-jam-comments.

Configuration

In your .eleventy.js file, require the plugin and initialize it with your site's domain and API key.

const jamComments = require('eleventy-plugin-jam-comments');

module.exports = function(eleventyConfig) {
  eleventyConfig.addPlugin(jamComments, {
    domain: process.env.JAM_COMMENTS_DOMAIN,
    apiKey: process.env.JAM_COMMENTS_API_KEY
  });
});

Displaying Comments

Embed the following Nunjucks shortcode in the template that renders individual posts or pages.

{% jamcomments %}

Supported Rendering Engines

  • *.njk
  • *.liquid

Keywords

jamstack

FAQs

Package last updated on 03 Dec 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.