I need to access a constant that holds a URL via an email template(= visual-force page) without using a controller. Because if I use a controller I will need to write test code and also maintain more code.
I have just seen that there are some out-of-the-box features that can be used directly in visual-force pages. For instance, $Api.Partner_Server_URL__xxx, that will return an API endpoint.
I would like to achieve the same, I mean to retrieve a custom URL in the same manner. Something like $Company.Url = www.company.com.
Is this possible?