Move page generation code to templates.rb
Cleanup in templates.rb plugin code
Support src and dst directory for future
Apply correct page url with a starting "/"