Adding dynamic content from an API to a static website at build time
You may not need client side JavaScript to add dynamic content from an API. In this article I will show the approach I recently took to embed YouTube playlists into an website created by a static site generator (Elventy), and how this approach lends itself to less JavaScript and progressive enhancement.
Tags: 11ty, html, javascript, webcomponents