feed.md 627 B

Comment Atom Feed

Custom comment url

Be sure that the id of the html tag containing the comment matches COMMENT_URL.

pelicanconf.py
COMMENT_URL = "#my_own_comment_id_{slug}"
Theme
{% for comment in article.comments recursive %}
	...
	<article id="my_own_comment_id_{{comment.slug}}">{{ comment.content }}</article>
	...
{% endfor %}

Theme

Link

To display a link to the article feed simply add the following to your theme:

{% if article %}
	<a href="{{ FEED_DOMAIN }}/{{ PELICAN_COMMENT_SYSTEM_FEED|format(article.slug) }}">Comment Atom Feed</a>
{% endif %}