@carl Testing testing.

An improved enhancement would be to have an embeddable comment text box within the blog post itself!

Follow

@subins2000 This is a lot more complex since the text box will depend on your server and you will need to log into your account.

· · Web · 1 · 0 · 0

@carl
you can do this without javascript by loading in data folder and using it in publication.
If you rebuild you website once a day, it does the work.
@subins2000

@fluffy @subins2000 @jibec Basically the idea from Jean-Baptiste is to use Hugo capability to load a json to render the comments statically. It's a nice idea but then you need to setup a corn job building the website hourly or daily.

@carl @subins2000 @jibec thanks, i have been meaning to set something like this up and it will be helpful!

@fluffy
here is the code, look at the python script.
github.com/languages-in-floss/
what deacribed carl is correct.
My implementation is quite minimalist (as a non dev, it took me quite some time to understand it from a javascript implementation)
yes, i have a daily script running. Making it faster isn't really needed for my usecase, anyway, the build script takes a few second, no big deal
@subins2000 @carl

@jibec @carl @subins2000 this is so damn neat I am now tempted to add comments to a static site I am building. Thank you for this!

Sign in to participate in the conversation
LinuxRocks.Online

Linux Geeks doing what Linux Geeks do..