a***@gmail.com
2015-09-28 22:44:19 UTC
I have a box of icons that link to areas of expertise. I use these on /,
but I also want to use them on every individual expertise
(expertise/*.markdown). To generate them in index.markdown, I need:
exps <- loadAll "expertise/*.markdown"
But this will not work when generating "expertise/*.markdown", because it
will create a dependency cycle.
How can I include my expertise-list in the expertise/*.markdowns? I only
need the title and url of each expertise, so maybe there's a way to make
them and not the body?
Here is the relevant code (it's short):
templates/expertise-list.markdown: http://lpaste.net/8836702036775927808
templates/expertise.markdown: http://lpaste.net/5854113189783928832
/index.markdown and expertise/*.markdown:
http://lpaste.net/906605211785625600
Any help would be awesome. Right now I generate the icons for /, and just
copy the generated src into the expertise template, which is beyond stupid.
but I also want to use them on every individual expertise
(expertise/*.markdown). To generate them in index.markdown, I need:
exps <- loadAll "expertise/*.markdown"
But this will not work when generating "expertise/*.markdown", because it
will create a dependency cycle.
How can I include my expertise-list in the expertise/*.markdowns? I only
need the title and url of each expertise, so maybe there's a way to make
them and not the body?
Here is the relevant code (it's short):
templates/expertise-list.markdown: http://lpaste.net/8836702036775927808
templates/expertise.markdown: http://lpaste.net/5854113189783928832
/index.markdown and expertise/*.markdown:
http://lpaste.net/906605211785625600
Any help would be awesome. Right now I generate the icons for /, and just
copy the generated src into the expertise template, which is beyond stupid.
--
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.
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.