Discussion:
[hakyll] problem with loadAll
Corentin Dupont
2015-03-14 22:48:09 UTC
Permalink
Hi,
loadAll appears to not support my subdirectories...

loadAll ["blog/posts/myPost.md"]

is recognized (my article is returned), while:

loadAll ["blog/posts/a/myPost.md"]

is not (it returns nothing). Both files exists.
Is this a configuration problem?

Thanks
Corentin
--
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.
Jasper Van der Jeugt
2015-03-14 23:09:08 UTC
Permalink
Hey Corentin,

Are you sure are compiling both files? My first guess would be that you
dont have a rule for "blog/posts/a/myPost.md".

Peace,
Jasper
Post by Corentin Dupont
Hi,
loadAll appears to not support my subdirectories...
loadAll ["blog/posts/myPost.md"]
loadAll ["blog/posts/a/myPost.md"]
is not (it returns nothing). Both files exists.
Is this a configuration problem?
Thanks
Corentin
--
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
For more options, visit https://groups.google.com/d/optout.
--
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.
Francesco Ariis
2015-03-14 23:22:31 UTC
Permalink
Post by Corentin Dupont
Hi,
loadAll appears to not support my subdirectories...
Wild guess, maybe you forgot to recompile your site.hs? Maybe you
should invoke `site rebuild`?
--
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...