Claudiu RAVEICA

Results 8 comments of Claudiu RAVEICA

@chrislusf I've noticed that weed scaffold -config master generates master.sequencer as type raft now and not memory as before. How does this affects when loading the old master.toml with type...

@bungle You're right. The cache key is set to 'test.html' for both. As a workaround, I have to pass my own key to template.render. ``` template.render("test.html", {}, ngx.var.template_root .. "test.html")...

@bungle It looks like when including templates {(partial_template)}, it does not use the cache_key provided. For example, server b will use included templates from server a, if server a was...

@markschmid try this: ``` template.render("template.html", { content = "my content", i18n = i18n, } ```

I see, what about this: ``` {% local translated = i18n.translate('my.translated.text') %}{{translated}} ```

or you ca do: my_translated_text = i18n.translate('my.translated.text') and use {{my_translated_text}} in template