I’m currently studying Node.js and Express. I’d like to create a blog, and I’ve already created a page that posts articles, inserting each of them into the article schema.
Naturally, I’m using an HTML template for these articles, so I’m wondering if I can also include CSS fields within this schema to use them as conditions in the templates. This way, I could customize the layout further. Is this a good practice? What could be a possible alternative (still using Node.js)? Thank you
matos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1