Replies: 3 comments
-
You pretty much nailed the idea of Nue. There is currently no such support for HTML layout reuse / override, but this is not a very hard thing to implement to the current codebase. Curious: why do you prefer HTML over Markdown for bulk content? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi Tero! What I like with markdown/nuemark:
What I don't like:
This makes it a bit more of a hard sell for a company already using a framework (react, vue or else) First stepI build my first static page, it is almost as easy as pure html + css:
Second stepI want to add a second page, and reuse things:
Why not:
|
Beta Was this translation helpful? Give feedback.
-
I see your point and I have already planned to implement something like the above. I'd say that Markdown is more of a standard thing in static site generators and for content-heavy websites. Injecting content inside the HTML file makes the site harder to maintain, and makes it easier to break. It's also harder to centralize design into a external design system that all the "standardized" content-files apply to. The HTML-based system has likely more to learn when coming from another framework. |
Beta Was this translation helpful? Give feedback.
-
If I understand the docs correctly, there are currently a few advertised usecases for nue:
If I want to build a website for my company, have many static pages but reuse the same layout and write html not markdown, do I have an option? The argument would be to enjoy a composable structure and reuse the layout, but also using html instead of markdown and special syntax in order to stay closer to standard website building.
Am I off here ?
I know this does not align as much with "separation of concerns" between content, design, and application logic (JS), but it is still interesting for one that does not want to go with react and jsx and just simplify the codebase and DRY.
Beta Was this translation helpful? Give feedback.
All reactions