Permalinks plugin
Repair rmarkdown plugin for files in subdirectories

Now all generated files properly refer to a single copy
of lib_dir, containing CSS and JS and other files, common
to all Rmd document.