Move render to overridable function file
Replace discussion id with link in backend