grav-plugin-comments icon indicating copy to clipboard operation
grav-plugin-comments copied to clipboard

Grav comment classes

Open juekr opened this issue 5 years ago • 0 comments

Added the possibility to add classes to comment section elements. The classes for wrapper, table, rows, columns, meta information and alert area are configured via config .yaml like this:

classes: wrapper: comments-wrapper table: table-comments rows: tr-comments cols: td-comments meta: comment-meta alert: comment-alert

If left empty, they default to class="" – except for the alert (this defaults to class="alert").

Also added an id to the outer wrapper class that is added as target to the form's action (so user land directly in the comment section after submitting).

juekr avatar Oct 07 '20 07:10 juekr