Planets Site - Eleventy, nunjunks, SCSS and ES6 modules

Solution retrospective
BTW - The homepage is blank as this wasn't really included in the design. You'll have to click through to a page to see the content.
This was a big step up for me in terms of the tech used to build the site. Any comments or feedback would be most welcome. I put some details and questions in the readme, but I would really like to know:
-
Is it OK to use inline styles to set custom properties? I did this using nunjunks and it worked really nicely, but I wasn't sure if this is really best practice.
-
How to make individual HTML pages from a JSON object! I can see that 11ty's pagination should do this but I couldn't make it work!
Thanks for any other comments and feedback!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Dave's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord