many many many Varia's websites, work in progress: https://many.vvvvvvaria.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

762 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

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 %}

Link to the all comment feed:

<a href="{{ FEED_DOMAIN }}/{{ PELICAN_COMMENT_SYSTEM_FEED_ALL }}">Comment All Atom Feed</a>