Support mmd style variables for page metadata

Eg: `[%title]` will be converted to: `{{ page.title }}`