FRAMEWORK ยป MAKO

Basic syntax

On module level:

txt
<%! from babel import Locale %>

On template level:

txt
<% locale = Locale('en', 'US') %>
${locale.territories['US']}

Using control structures:

txt
% if x == 5:
  some output
% endif