# Full site editing/FSE: Frontend doesn't load template

**URL:** https://discourse.roots.io/t/full-site-editing-fse-frontend-doesnt-load-template/21574
**Category:** sage
**Tags:** webpack, sage10
**Created:** 2021-10-16T13:15:34Z
**Posts:** 30
**Showing post:** 2 of 30

## Post 2 by @oxyc — 2021-10-17T15:56:17Z

This doesn’t work anymore?

> [@Sage 10: Block based theme support?](https://discourse.roots.io/t/sage-10-block-based-theme-support/17294/2):
>
> To get \<theme\>/block-templates/\*.html files to work you can add the following filter which fixes the paths add\_filter('template\_include', function ($template\_file) { global $\_wp\_current\_template\_hierarchy; $\_wp\_current\_template\_hierarchy = array\_map('basename', $\_wp\_current\_template\_hierarchy); return $template\_file; }, 19);

---

_[View the full topic](https://discourse.roots.io/t/full-site-editing-fse-frontend-doesnt-load-template/21574)._
