@martinklepsch of course: https://github.com/pesterhazy/presumably/blob/feature/front-page/src/site/core.clj#L13
@pesterhazy: have you tried adding the permalink task to your pipeline?
yup it's there
ok, let me just quickly clone this into this Finnish train I'm sitting in 😄
@pesterhazy so I don't see any use of the collection or permalink task, maybe you didn't push your latest changes?
found it!
@pesterhazy so the issue is that you're using permalink
but not slug
which permalink
depends upon. Unfortunately the default slug-fn
expects file names in the following format YYYY-MM-DD-slug-title.ext
which your files do not work well with your file names
(slug :slug-fn #(->> (string/split % #"[-\.]")
drop-last
(string/join "-")
string/lower-case))
adding this before the permalink
task should fix the issuein that context we should probably establish some pattern that raises this kind of issue early, e.g. if permalink
task depends on the result of the slug
task that should be checked and informed about at runtime
that explains it
@martinklepsch, thanks! I made an issue: https://github.com/hashobject/perun/issues/99