why not handling the global template the same way than the local one, allowing to pass the content directly ?