Skip to content

patrickdung/coral_talk_comments_count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pelican plugin for getting the comments count of an article

This plugin references several Pelican plugins. So this plugin would be in AGPLv3 license.

Parameters to be added in order to use this plugin

Parameters are: CORAL_DOMAIN_NAME, CORAL_STATIC_COMMENTS_COUNT

  • CORAL_DOMAIN_NAME = "<input your domain name of Coral Talk server'
  • CORAL_STATIC_COMMENTS_COUNT = True

How to use it in the template

    {% if CORAL_STATIC_COMMENTS_COUNT and 'coral_talk_comments_count' in PLUGINS %}
      Comments: {{article.coral_comments.count}}
    {% endif %}

License

Unless the folder itself contains a LICENSE stating otherwise, all the files distributed here are released under the GNU AFFERO GENERAL PUBLIC LICENSE.

About

Pelican plugin for getting comments count of Coral Project Talk

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages