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
If I create an index template which is an xml file, Template Sync will either rename it to .html, or delete it and leave me with an index file that redirects to a 404.
In FileTemplates.php I updated line 58 to if (! in_array('index.html', $templates) && ! in_array('index.xml', $templates) && ! in_array('index.rss', $templates) && ! in_array('index.js', $templates)) {
(since it could also be a js or rss page).
This kind of works (in that my index.xml page is left alone), but I'm also left with an index.html page which I don't need. Whenever I delete this, it comes back.
Thanks for a cool addon.
The text was updated successfully, but these errors were encountered:
Hello,
If I create an index template which is an xml file, Template Sync will either rename it to .html, or delete it and leave me with an index file that redirects to a 404.
In FileTemplates.php I updated line 58 to
if (! in_array('index.html', $templates) && ! in_array('index.xml', $templates) && ! in_array('index.rss', $templates) && ! in_array('index.js', $templates)) {
(since it could also be a js or rss page).
This kind of works (in that my index.xml page is left alone), but I'm also left with an index.html page which I don't need. Whenever I delete this, it comes back.
Thanks for a cool addon.
The text was updated successfully, but these errors were encountered: