There’s https://mozilla.github.io/nunjucks/ although it hasn’t been maintained for quite some time. - Source: Hacker News / 20 days ago
In ApostropheCMS, templates are where code and content become web pages. Specifically, templates are written in normal HTML markup with special tags and are based on the Nunjucks template language. Thus, they are .html files placed in the /views subfolder of an ApostropheCMS module. - Source: dev.to / 2 months ago
This starter Kit has been created by Corllete in partnership with Apostrophe. From a technical point of view, the ecommerce project is based on several UI components. Each of them relies entirely on Tailwind CSS for styling, with no additional CSS files. These components are organized in macros and fragments coming from the default server-side template engine Nunjucks. - Source: dev.to / 4 months ago
So there's Nunjucks, a frontend templating language inspired by jinja2, which itself is based on the Django template language. You could try that, and mock in data from JSON when required until you're ready to use real Django. Source: about 1 year ago
Take a look on Nunjucks a templating language by Mozilla . You can use Gulp to start with it, check gulp-nunjucks-render. Source: over 1 year ago
Try out Nunjucks https://mozilla.github.io/nunjucks/ . It does exactly what you want. Source: over 1 year ago
I've used nunjucks in the past, worked well if as I recall https://mozilla.github.io/nunjucks/. Source: almost 2 years ago
Some years ago I hade the same problem as you. I used https://mozilla.github.io/nunjucks/ (Nunjucks) to solve my problem. Which was exactly what I needed. Super easy to use. Made everything super structured and you can put everything into separate HTML files, and thereafter assemble it in one HTML file with simple commands. Source: about 2 years ago
Nice and simple. One note to the author - you could reduce your line count quite a bit and get a bunch of features for free by using Nunjucks (https://mozilla.github.io/nunjucks/) instead of parsing the template yourself. It handles your partials and variables in the same way plus a whole lot more. - Source: Hacker News / about 2 years ago
Nunjucks - The main templating engine used in the project. It's basically a port of the Jinja2 templating engine that you would use in Python Flask and Python Django. - Source: dev.to / over 2 years ago
Nunjucks is also relatively famous, small and performant https://mozilla.github.io/nunjucks/. Source: over 2 years ago
We changed the file extension from .html to .njk. This means we’re using Nunjucks as our templating language. Eleventy supports a number of languages. Nunjucks is nice for staying with our theme of using JavaScript. And it’s also fairly minimalistic, which is nice for our example. - Source: dev.to / almost 3 years ago
On the other end, truly JavaScript-less SSG will use template-engine like Nunjucks or Liquid. They are amazing options but it's another language and another paradigm. Not component-driven. - Source: dev.to / almost 3 years ago
Create /src/_includes/layout.njk. This is a Nunjucks template, but you can use many others. The stuff in curly brackets are things that we will fill in at build time:. - Source: dev.to / almost 3 years ago
For context, this blog is built with Eleventy because it gives me the freedom to use any template engine. I used and know Nunjucks, which gave me the incentive to switch to Eleventy from a custom static-site generator I built. - Source: dev.to / almost 3 years ago
Liquid looks extremely easy-to-use and straight-forward and is used by Jekyll. In many blog and video tutorials I have seen, many people use this Nunjucks thing. On the surface, the {% logic %} and {{ variable }} are identical to Liquid. What's is it about Nunjucks that makes it so popular (seemingly more so than Liquid) ? Source: almost 3 years ago
A2 had a bit of a learning curve when it came to writing more complex project code. In A3, we have a clearer structure for modules. Each module has a clearly defined home for methods, event handlers, Nunjucks helpers, async components, query builders, and more. - Source: dev.to / almost 3 years ago
Nunjucks is a lovely template engine. Check it out. Source: about 3 years ago
What you are searching for is a template engine. There are a lot for node. I think you should try to implement https://mozilla.github.io/nunjucks/ which is pretty similar to the Jinja syntax :). Source: about 3 years ago
Https://mozilla.github.io/nunjucks/ should do it for you! Source: about 3 years ago
Nunjucks templating engine for the index view. - Source: dev.to / about 3 years ago
Do you know an article comparing Nunjucks to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Nunjucks. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.