The discussion revolves around adding a bespoke raw template in Discourse. merefield initially struggled to add a raw template, encountering issues with Handlebars compilation and file placement. They discovered that raw templates should be placed in the templates directory with a .hbr extension, as demonstrated in the discourse-docs repository justin. david suggested using Ember components with tagName: '' to avoid unwanted wrapper divs, which is a simpler alternative to raw templates. merefield resolved the issue by moving the template to the correct directory and acknowledged the helpful advice.
Hey, I’m trying to add my own Raw template … not simply override an existing one.
Reason: trying to get rid of those nasty ember tags you get when using nested components.
… initially I assumed it would be as easy as just adding one to the templates or templates/list directory, so I went ahead and did that, only for it to silently fail (to find my template).
You should be able to add a raw template straight to the templates folder. We did so in discourse-docs. They now use the .hbr file extension, so maybe that’s where things tripped up.