image and link modifications to jade templates