There's no BC guaranteed, so use it at your own risk. Extension will be heavily refactored.
- put meta.yml to your config directory
- use site_meta(meta_sequence) . sequence is 'global.suteurl' or 'global.meta.description' for example: {{ site_meta('contacts.phone')}}
- use route_meta(meta_sequence) for example: {{ route_meta('contacts.phone')}}
- use route_meta_contexted('title', post )
if
route_meta('title')
gives something like"site title - about %context.page_heading%"
so if you launch route_meta_contexted('title', post), wherepost['page_heading'] == 'beautiful horses'
, it will give you"site title - about beautiful horses"
Also i made aliases for sequences, so you can use route_meta('comment')
for example.
started 11.11.2015