You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am creating a theme that uses a tera include on the 'next' branch. Although the included file is also in the theme template directory an error occurs.:
Error: Failed to render page '/path-to-site/content/page-that-uses-a-sometheme-template-with-include.md'
Reason: Failed to render 'sometheme/templates/page.html' (error happened in a parent template)
Reason: Template 'filethatneedstobeincluded.html' not found
It seems that this problem is behaving in the same way as with the allready solved macros
The text was updated successfully, but these errors were encountered:
I thought I mentioned it in the docs but I can't find it: include paths are not rewritten in themes so gutenberg will not find them and they will not work. The reason being that changing those paths would require parsing each template recursively looking for a Include node that can be present at any point in any node.
If someone wants to have a go at it, the changes should be in components/utils/src/templates.rs in rewrite_theme_paths.
Since the Tera version has changed, it should be done on the next branch
I am creating a theme that uses a tera include on the 'next' branch. Although the included file is also in the theme template directory an error occurs.:
It seems that this problem is behaving in the same way as with the allready solved macros
The text was updated successfully, but these errors were encountered: