Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
snippets:batou:start [2017/02/03 09:34] – created 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 ====== | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | ===== 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%}} | ||
Line 8: | Line 15: | ||
comwork={{component.workdir}} | comwork={{component.workdir}} | ||
</ | </ | ||
+ | |||
+ | |||
+ | {{tag> |