Hi Mateusz,
Yes this is possible, you can use this macro {% Documents["NodeAliasPath"].DocumentName |(identity)GlobalAdministrator%}
Or create an custom macro, advantage of creating your own macro is that you have more control on the code and queries behind it. Because an macro with WithAllData
is not efficient.
Here some documentation for creating custom Macros and using the Kentico API for getting the correct value.
Registering custom macro methods
Working with documents in the API
Good luck with developing!
If this answer helped you, please vote for my answer :-)