hashobject / perun

Programmable static site generator built with Clojure and Boot (HELP NEEDED!)
https://perun.io
Eclipse Public License 1.0
350 stars 38 forks source link

Permalink wrong with out-dir? #199

Closed arichiardi closed 6 years ago

arichiardi commented 6 years ago

Hello folks!

I am rendering my markdown using:

(perun/render :renderer 'com.andrearichiardi.blog.post/render
              :out-dir "blog/posts/")

with :dir-root "public", I get permalinks like:

/blog/posts/public/post1.html /blog/posts/public/post2.html

I am trying a couple of things, but this line seems suspicious. The order feels flipped, but maybe I am totally off and I will try a couple of things more first :smile:

Any hint appreaciated!

arichiardi commented 6 years ago

close, but not quite, there is more parsing to do in order to achieve the desired result. Hopefully patch coming soon.