Hello, I'm pretty new to node.js and java script in general so I was wondering if anyone knew of a good way to approach what I'm trying to do.I am trying to make a blog style site using Express, Mongoose, and Ejs. I have one Ejs page that loops through all documents of a certain type and displays a div of them with limited information. This will serve as a page featuring the titles of all the articles available. I'm cannot figure out the best way to have EJS create a reference to a specific one within the html and pass the specific document to it so that its information can be displayed on a template.If my explanation is not clear the hopefully this image will help.
Submitted July 02, 2020 at 05:54PM by the-vindicator
No comments:
Post a Comment