Adding "like" button for Github pages

I want to add ‘like’ button for the each post under _posts so as keep track of number of likes per post. Also, to not increase like from same user again. I am not able to find a solution for that . Do help!!

1 Like

GitHub Pages is designed to be a static site host, which means we only support static sites using HTML, CSS, and JavaScript; we don’t support server-side code, such as PHP, Python, and Ruby.

Because of this, you’re unable to host a web application that requires any kind of server side processing. If your site needs to access a database you probably need a more full featured hosting service.

Since the kind of functionality you’re describing requires server-side processing and/or a database, you may need to look for other hosting solutions.

1 Like