Even though Eleventy compiles your code to static HTML, you can still keep your code organized using a server-side components. Here are three approaches to implementing a component solution in your Eleventy project.
Find code and written tutorial at https://www.seancdavis.com/blog/eleve...
0:00 Introduction
1:45 Project Setup
4:08 Method #1: Template Includes
9:24 Method #2: Custom Shortcodes
21:10 Method #3: Component Libraries