Results 1383 comments of Vincent Prouillet

Or maybe just `{% set map.foo = 42 %}`? I don't know if we will need to remove things from a hashmap. I have never needed that in any template...

Is there some precedent in Jinja2/Django? As long as there isn't `{{`, `{%` etc in the template it should already work fine

Where would the files be located? In the templates directory or would the tag/function have to load them from the filesystem first?

`include` paths are based on their own paths: if you are using globs like `templates/**/*.html` and have `templates/something/else.html` and `templates/something/different.html`, you would `include "something/else.html` in `different.html`.

I think so, is there a precedent in other template engine we can use for the naming?

`include_raw` sounds good to me

Hmm it does sounds like it would be easier to just ignore them in the glob or name them something that won't get parsed like `blogroll.html.ignored` or whatever. I'm a...

Could you write some pseudocode on how it would look like from a user pov?

so the files can only be loaded from a hardcoded directory name? That doesn't sound great :/

The main issue with that is that it cannot load static files dynamically, you have to call `Tera::add_static_files` which isn't great for many usecases. I'm tempted to have a Tera...