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
I know I was the one who proposed conditional content for llms-txt, but I now don't think we can do it cleanly for 1.9. The problem is that our pipeline starts from the HTML file (for good reasons), but that means that if we want the llms.lua filter to see content, then it needs to exist in the .html output. That would require restructuring our rendering pipeline a lot: we'd have to add the conditional content to the HTML file, run the llms.txt processing, and then have an additional post-processing step that removes the conditional content from the HTML.
EDIT: We figured out a way to do conditional content cleanly as well.
Reacted by Charlotte Wickham and Christophe Dervieux
Activity
cscheid commentedon Feb 19, 2026
I know I was the one who proposed conditional content forllms-txt, but I now don't think we can do it cleanly for 1.9. The problem is that our pipeline starts from the HTML file (for good reasons), but that means that if we want the llms.lua filter to see content, then it needs to exist in the .html output. That would require restructuring our rendering pipeline a lot: we'd have to add the conditional content to the HTML file, run the llms.txt processing, and then have an additional post-processing step that removes the conditional content from the HTML.EDIT: We figured out a way to do conditional content cleanly as well.
cscheid commentedon Feb 20, 2026
Ok, I merged #14067 which addresses everything here except the index bug.