Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Using nodebb as a commenting system

Started by Matthieu 6 years ago · 0 replies · 523 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 complanar, 6 days ago
6 147 20 hours ago
Support · by Rick Beebe, 6 days ago
2 103 3 days ago
Support · by blu3prince, 3 days ago
0 55 3 days ago
Support · by alex, 4 days ago
2 96 3 days ago
Support · by Marcel, 2 weeks ago
1 146 4 days ago