cyjake / darko

🐰A Node.js port of Jekyll
82 stars 16 forks source link

fix page.url variable #9

Closed wojtask9 closed 9 years ago

wojtask9 commented 9 years ago

according to jekyll docs (http://jekyllrb.com/docs/variables/) page.url should return "The URL of the Post without the domain, but with a leading slash, e.g. /2008/12/14/my-post.html"

Current code for files directly in src directory returns URL -> / (without filename) For others subdirectories /path_to_dir (without filename)

URL should contain filename too

cyjake commented 9 years ago

merged and darko@0.2.2 published