Inspired by Alex Mitchells template engine