added link property to library and moodle templates