Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
gatsby-theme-ghost-commento
Advanced tools
Readme
Integrates the commenting system Commento into blog posts of gatsby-theme-try-ghost. This theme makes use of latent-component-shadowing and showcases best practices for adding custom themes to gatsby-theme-try-ghost
.
yarn add gatsby-theme-ghost-commento
This theme is an add-on theme designed to seamlessly integrate with gatsby-theme-try-ghost. The theme uses functions provided by gatsby-theme-try-ghost
, so installing gatsby-theme-try-ghost
is required.
yarn add gatsby-theme-try-ghost
// In your gatsby-config.js
plugins: [
{
resolve: `gatsby-theme-ghost-commento`,
options: {
// The url pointing to your self-hosted commento installation
// You can remove the option, if you use the commento.io managed service
url: `https://commento.your-blog.com`,
},
},
]
This Gatsby theme plugin hooks into the gatsby-theme-try-ghost
theme and adds a comment section to every post. Please play with the Commento Demo in order to find out if this is the right commenting system for you. If you are self-hosting commento, then add your endpoint in the url
field above. Users of the commento.io managed service, can remove the options as the url
defaults to https://cdn.commento.io
.
In order to be able to use comments with Commento, you need a backend. You have two options here:
Register with Commento (convenient, subscription fees).
Spin-up a self-hosted Commento server Commento server (full control, own server costs).
The Commento backend allows you to set spam filters, add moderators, authentication options and much more. It also provides a dashboard for anonymous analytics.
All comments are sourced in via a javascript plugin on runtime. To improve SEO it would be better to have an hybrid approach, where older comments are sourced in during Gatsby build time and only new comments are provided on runtime. If you feel the call to improve this plugin, please get in contact with us.
PRs are welcome! Consider contributing to this project if you are missing feature that is also useful for others. Explore this guide, to get some more ideas.
Copyright (c) 2020 styxlab - Released under the MIT license.
FAQs
Gatsby theme to easily add commento to gatsby-theme-try-ghost
The npm package gatsby-theme-ghost-commento receives a total of 21 weekly downloads. As such, gatsby-theme-ghost-commento popularity was classified as not popular.
We found that gatsby-theme-ghost-commento demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.