DEV Community

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

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

But any static website builder will require me to maintain CSS as well, unlike writing solely in Markdown.

Unless there is a truly perfect readymade theme...

Collapse
 
ndsn profile image
Tom Anderson • Edited

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.

Collapse
 
katafrakt profile image
Paweł Świątkowski

But that's true for everything. Is GitHub theme perfect when you host awesome repos? With your own website at least you have a possibility to tune the theme. And it won't change without your consent.