using query selectors instead of content selectors for template passing