Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Oct 15, 2023. It is now read-only.

ttntm/hugo-comments

Open more actions menu

Repository files navigation

"Static" Comments with Gulp, Hugo & Netlify

Detailed description: https://ttntm.me/blog/static-blog-comments-hugo/

Demo

https://hugo-comments.netlify.app/

Description

The comments posted are handled by Netlify Forms and get processed there according to this flowchart: https://bpm.wiki/diagram/Static-comments-with-Netlify-94

During the build process, the comments are obtained from Netlify Forms via their API and put into a comments.json file by Gulp. In order to make this work on localhost environments, don't forget that you'll need an .env file within the project directory that stores the necessary Form ID and API Token for your own Netlify setup.

Based on: https://css-tricks.com/jamstack-comments/

Status

Netlify Status

Sponsor this project

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.