Add config.yml based permalink setup

* This would make sure that links on the website are properly generated for
  both Github pages and non Github page environments.