Relative links fixes (fixes #14)

* Append missing git refs
* Fix rendered template instead of just rendered markdown content