Template roots don't render with initial loads for static exporting, sometimes #73
Labels
A-router
Area: router
C-bug
Category: bug
D-medium
Difficulty: medium
P-high
Priority: high
S-in-development
Status: in development
Describe the bug
Right now,
perseus export
will generate templates that have many pages in a rather strange way (actually quite unintended, just a quirk of the system). Let's say we have a templatedocs
, which has a root page and a ton of other subpages. Those subpages will all be exported into adocs/
folder, which is logical, but the root page won't be atdocs/index.html
, it'll be atdocs.html
(outsidedocs/
). Unfortunately, different systems handle this in different ways, though most simply won't find the/docs
page. Note that the subsequent loads system works fine because the internal Perseus structure is expected to work like this.To Reproduce
Steps to reproduce the behavior:
or
Expected behavior
Template roots should be rendered in the template's folder as
index.html
for the initial loads system, and such pages should be able to be rendered.Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: