Martin Schneider 8/4/2020

Building a Blog With 11ty and WordPress

Read Original

This technical article details the process of building a blog with Eleventy (11ty) and using WordPress as a headless CMS. It covers fetching article data from the WordPress REST API, processing and filtering the response in Eleventy's data folder, and implementing code syntax highlighting with Prism.js and jsdom since the standard Eleventy plugin was incompatible with the HTML content structure.

Building a Blog With 11ty and WordPress

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
ServiceNow and Microsoft Copilot
Marius Sandbu 1 votes
2
The Learning Loop and LLMs
Martin Fowler 1 votes