Path /' does not rebuild
index.html'
#123
Closed
opened 8 years ago by leafac
·
5 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
PRECONDITIONS
index.html
page from a previous build is shown.index.html
(e.g.,index.html.pm
).CURRENT BEHAVIOR
The old
index.html
is shown, as a rebuild is not triggered.EXPECTED BEHAVIOR
Fetching
/
causes a rebuild and the served page stays up-to-date with the source. Alternatively, do not serveindex.html
on the/
route—though that is less desirable. The current behavior is a bad middle ground, as it goes against the principle of least surprise.This is a fair suggestion. I'll see what I can do.
@mbutterick: Thank your for the quick feedback. If I can help, please let me know.
(I am using Pollen and absolutely loving it. Thank you so much for your work.)
You have excellent taste.
The
index.html
case should now work by default. I also added anindex-pages
setting topollen/setup
that will let you configure the names of the default pages that the project server will use.Of course, this is just a convenience within the project server so that
/
-terminated URLs will do something useful. It does not carry over toraco pollen render
, nor a live web server (where the equivalent behavior would be implemented with an.htaccess
file).@mbutterick: Thank you very much! 👍