Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Using nodebb as a commenting system

Started by Matthieu 6 years ago · 0 replies · 568 views
6 years ago

Has anyone manage to use nodebb as a commenting system for blog posts in Grav ?
I am having troubles to get nodebb-plugin-blog-comments to work and I suspect that I am not generating the parameters correctly in my twig template. Thus, any hint from someone who have made it work would be appreciated 🙂
Just for the record, how I am generating the articleData variable:

TWIG
var articleData ='{"title_plain": "{{page.title|e('js')}}","url": "{{page.url(true)|e('js')}}","tags": [], "markDownContent":"{{page.content|e('js')}}","cid":1}';

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 1 week ago
4 171 1 week ago
Support · by nwhitfield, 1 week ago
2 149 1 week ago
Support · by stell, 3 weeks ago
5 380 2 weeks ago
Support · by gravinator, 1 month ago
5 572 2 weeks ago
Support · by Gravver, 3 weeks ago
6 360 3 weeks ago