DEV Community

loading...

Discussion on: What's the easiest way to create a content based static website

Collapse
ndsn profile image
Tom Anderson

Very true. CSS is one of those things that I've yet to find a perfect solution for.

The best answer I can offer for full flexibility while following the KISS Principle as close as possible would be to use something like TailwindCSS baked into your 11ty layouts so that the pure markdown posts (used as 'data' by 11ty) inherits the styling from the templates.

Plus, you could always just take an existing HTML Template/Theme and use that as your base layout augment it with data from the markdown files.