Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get staticman to display comments in posts #282

Closed
fpgits opened this issue Apr 5, 2019 · 3 comments
Closed

Cannot get staticman to display comments in posts #282

fpgits opened this issue Apr 5, 2019 · 3 comments
Labels
question Signifies that the issue is a question where the user is seeking support.

Comments

@fpgits
Copy link

fpgits commented Apr 5, 2019

I have followed several tutorials to implement comments via staticman for my personal site but I have not been able to show the comments in the publications, the only thing that is shown is the comment counter.

You can see what is mentioned in the following sample post:
https://www.fernandoportela.net/blog/plataforma-venezuela-giro180

--
https://github.com/fernandoportelab/blogpersonal
https://github.com/fernandoportelab/blogpersonal/tree/master/_includes

Thank you very much for your cooperation in advance.

@hawkeye116477
Copy link

hawkeye116477 commented Apr 11, 2019

Maybe try changing URL here https://github.com/fernandoportelab/blogpersonal/blob/master/_includes/new-comments.html#L5, just remove _data from it.

@fpgits
Copy link
Author

fpgits commented Apr 16, 2019

Hey @hawkeye116477 , thanks for your attention.

I have done what you say but they still do not appear, simply the counter is shown in the posts but not the content of the comment.

@VincentTam
Copy link
Contributor

VincentTam commented Jul 2, 2019

@fernandoportelab This repo is about the Node.JS app that collects user input from an HTML <form> and converts it into YML files in your repo. As https://github.com/fernandoportelab/blogpersonal/commit/3794679242f4b28ce6225b7ba0eefd22ff2280a6 shows, this Node.JS app has done its job, so it remains a Jekyll problem to convert YML files like

_id: d1f0c950-6307-11e9-a5be-138718db59ab
name: test
email: 319f7c45e3cb26186e0a66328dca8b90
url: ''
message: wqewqewqewqewqewqewqewqewqewqewqewqewqewqewqewqewqewqewqewqe
date: '2019-04-20T01:01:26.565Z'

into an HTML element representing a comment. I invite you to refer to Minimal Mistakes for a working Staticman integration template code written in Jekyll, and reframe this as a pure Jekyll question on Jekyll Talk.

Reference: #264 (comment)

@alexwaibel alexwaibel added the question Signifies that the issue is a question where the user is seeking support. label Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Signifies that the issue is a question where the user is seeking support.
Projects
None yet
Development

No branches or pull requests

4 participants