-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feed pages are auto-pruned #10
Comments
I think I have seen this happen before. Need to double check. It definitely happens on the pybee site. |
I ran into this after enabling the alternatives system within Lektor. I also noticed that this does not trigger for all feeds, but only those associated with pages that exist only for the primary alternative (so, |
I'm seeing the same problem with active alternatives. The feeds that are based on a page without translation get pruned. This happens even for the primary alternative, if there's no "(Overlaid)" content (in my case the primary is de, secondary is en. If there's no contents+de.lr the primary feed gets pruned. If there's no contents+en.lr the secondary feed gets pruned). |
I'm on Lektor 3.2 and my feeds still geht auto pruned. |
I'm pretty sure the problem behind this behaviour is that the feed can't / doesn't depend on any file in the lektor source code besides the project file and thus the build system thinks the file is obsolete. See
I'd like to tackle this, but I'm not entirely sure what the right way to go about this is. Ideas welcome. |
Using Lektor 2.3, feeds are correctly generated - but then immediately pruned by the lektor build process. It is necessary to use the
--no-prune
option to get a working feed output.An example project demonstrating the problem can be found in the pybee/pybee.github.io repository.
The text was updated successfully, but these errors were encountered: