Discussion:
[hakyll] Dependency Cycle
Kierán Meinhardt
2017-10-18 08:32:12 UTC
Permalink
Hey all,

I'm having the following problem: I have a template which generates a
nav-bar dynamically depending on the contents of the posts/ directory.
Now when this template is applied to a post – because the post pages also
need this nav-bar at the top – I have a recursive dependency.
Any ideas how to fix this?

Regards,
KM
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
r***@gmail.com
2017-11-02 23:32:16 UTC
Permalink
See https://stackoverflow.com/questions/47067851/how-do-i-avoid-a-dependency-cycle-when-generating-a-list-of-recent-posts-on-post/47080104#47080104
and https://stackoverflow.com/a/35651294/1461430
Post by Kierán Meinhardt
Hey all,
I'm having the following problem: I have a template which generates a
nav-bar dynamically depending on the contents of the posts/ directory.
Now when this template is applied to a post – because the post pages also
need this nav-bar at the top – I have a recursive dependency.
Any ideas how to fix this?
Regards,
KM
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...