How to share a Partial across Output Formats

Question: does return not work in this method (extension-less partials)?

By the way, I am always calling my partials without an extension. This solution might be an undocumented “official” way and not a humble “hack”. — bookmarked.