ryanwinchester / mixdown

Markdown Blog built on Phoenix
2 stars 0 forks source link

Allow users to comment on posts #10

Open colonelpopcorn opened 7 years ago

colonelpopcorn commented 7 years ago

I was trying to work on issue #3, but I couldn't find where comments were defined. Do we need to create a model for these?

ryanwinchester commented 7 years ago

So, currently on https://ryanwinchester.ca (which uses mixdown) i am using disqus, and it is just a script included in the template.

So, I think that, for now, we could just include the disqus script but wrap it in an <%= if posts.allow_comments %> tag, and also include something in the config to allow the disqus IDs to be set, or something.

And in the future we'll plan to allow other types of 3rd-party commenting, as well as possibly our own baked-in version