Hi,
I use a variation of the pinpress theme and try to implement the commencts plugin.
But the comment form does not show. I just see a batch “0 Comments”.
My configuration:
Structue:
/blog = blog page with the list of the blogposts
/blog/first-blog-post = URL of the blog posts
user/plugins/comments/comments.yaml
-```
enabled: true
enable_on_routes:
- ‘/blog’
disable_on_routes:
- /blog/blog-post-to-ignore
- /ignore-this-route
#- ‘/blog/daring-fireball-link’
/user/themes/pinpress/templates/partials/blog_item.html.twig
-```
{% if not truncate %}
{% if config.plugins.jscomments.enabled and config.plugins.jscomments.provider %}
Comments:
{{ jscomments(config.plugins.jscomments.provider) }}
{{ jscomments(config.plugins.jscomments.provider) }}
{% endif %}
{% if config.plugins.comments.enabled %}
<div class="comments" id="comments">
<h4>{{ grav.twig.comments|length }} Comments:</h3>
<div class="comments-content">
{% include 'partials/comments.html.twig' with {'page': page} %}
</div>
</div>
{% endif %}
If I take the latest pinpress skeleton and install it to http://domain.com/test/ I have the same issue. Comment form does not show.
Any ideas.