more work on {{>main}}