Im trying to get the hang of this - not being a programmer.
Working on building a quite simple catalogue site capturing information on each room i my job, a hotel.
Comments to each page would be a huge thing, giving us all opportunity to instantly report anomalities in the rooms when cleaning/fixing them for next guests.
No luck at all with trying to make it work in the theme Learning2 with git hub.
I read somewhere its because the comment plugin only works with specific “blog” template.
Then I saw the template recepta actually included the comment plugin - and it does.
But: only thing visible is a black field saying “0 comments”. Theres no input form anywhere.
I made sure all the Yaml files that seemed to be of relevance, is enabled and I typed in the “active” property too - nothing activates.
@hotel If you follow the following steps, you will have Comment forms on regular pages. I use the Quark theme, but it should work on any theme. It is also not tied to any type of template.
Create fresh Grav installation.
Create a child theme from Quark. See Theme inheritance for guidance.
Thankyou again, pamtbaau.
I got it working now, almost under control;)
Using theme “Vela” comments works out if the box, following plugins own read-me. Using theme Learn 2 with gitbox theres an issue with comments in child pages, only root related pages processes the comment. In my hands, that is.
One other issue remaining is, when I comment out the mailing functions in the comments.yaml, I get a faultpage telling me theres a indentation problem in those lines.
I wonder if these .yaml files are strict when it comes to indentations and paragraphs?