You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I can't figure out how to make this all work with the includes file. The hard-coding means that all comments show on all pages. How can I adapt the following code in the includes file to reference only comments on a specific page?
I'm glad of your generosity, but I don't have any ways now. I'm just an amateur in writing codes. Actually @eduardoboucas created Staticman, and @ntsim helped me a lot during my testing of his merged PR for native GitLab support.
I'm 99% of the way there. I've got comments working.
I've edited my config file as follows:
staticman:
api: "https://staticman3.herokuapp.com/v3/entry/github/derykmakgill/derykmakgill.github.io/master/comments"
path: "_data/comments/:path"
But I can't figure out how to make this all work with the includes file. The hard-coding means that all comments show on all pages. How can I adapt the following code in the includes file to reference only comments on a specific page?
{% assign comments = site.data.comments.test-slug | sort %}
Also, how can I tip you to support your project?
The text was updated successfully, but these errors were encountered: