Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
snippets:batou:start [2017/02/03 09:36] – +tags frlan | snippets:batou:start [2024/07/10 03:15] (current) – old revision restored (2018/05/16 14:31) erpanu | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Collection of Snippets for batou ====== | ====== Collection of Snippets for batou ====== | ||
+ | |||
+ | [[http:// | ||
===== Templating ===== | ===== Templating ===== | ||
+ | |||
I'd recommend to put it into default-section as when working with batou, you will need to template a huge number of different filetypes but most likely all by using Jinja-style-templating. | I'd recommend to put it into default-section as when working with batou, you will need to template a huge number of different filetypes but most likely all by using Jinja-style-templating. | ||
< | < | ||
[Default] | [Default] | ||
+ | cc=class %cursor%(batou.component.Component): | ||
com={{component.%cursor%}} | com={{component.%cursor%}} | ||
comparent={{component.parent.%cursor%}} | comparent={{component.parent.%cursor%}} |