Since Sitevision 2023.03.1. The SEO settings of a Site allows for custom additions to the robots.txt. The settings also contains a checkbox that enables such additions to be treated dynamically, i.e. evaluated by Velocity. When treated dynamically, there are three objects available on the Velocity context.
Type and description
The JCR Session
The portlet request
The main entry point to all utility classes