> On May 12, 2017, at 11:07 AM, [email protected] wrote:
> 
> That allows me to load index.html, but it contains parenlog/introduction.html 
> as well as parenlog/predicates_variables_and_unification.html. I'd prefer to 
> use siblings instead of next* and remove index.html, but for some reason 
> index.html isn't served when I do that. I don't get an error message - the 
> page just hangs in my browser. Are there special restrictions on what you can 
> do with a pagetree in pollen.rkt?

`siblings` returns a list that includes the current pagenode. So if ◊(toc) 
appears in "index.html.pm", then it tries to `select` from a list of pagenodes 
that includes "index.html.pm", which in turn tries to load "index.html.pm", 
which in turn calles ◊(toc), and lo, you have created an infinite loop.

You can either:

1) Remove "index.html" from the list of pagenodes returned by `siblings`.

2) Use `other-siblings`, which I just pushed.




-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to