Skip to content
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

Closed
freakboy3742 opened this issue Apr 12, 2017 · 5 comments
Closed

Feed pages are auto-pruned #10

freakboy3742 opened this issue Apr 12, 2017 · 5 comments

Comments

@freakboy3742
Copy link

freakboy3742 commented Apr 12, 2017

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.

@goanpeca
Copy link
Member

I think I have seen this happen before. Need to double check. It definitely happens on the pybee site.

@eigengrau
Copy link
Contributor

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, contents.lr exists, but contents+en.lr does not.

@eljoest
Copy link

eljoest commented Aug 8, 2018

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).

@mantuko
Copy link

mantuko commented Mar 21, 2021

I'm on Lektor 3.2 and my feeds still geht auto pruned.

@dwt
Copy link

dwt commented Mar 22, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants