What we use quite often for "semi static" is to make them manageable from the CMS without a developer by using Custom settings. See documentation on how to create custom settings here: docs.kentico.com/.../Addingcustomwebsitesettings-Definingcustomsettings)
This way you can deploy your template and make the setting itself different for different sites/environments/or what ever rule you want.
You could use the following macro to get a site specific setting:
{% GetAbsoluteURL(CMSContext.Current.Settings.CMSAccessDeniedPageURL) |(identity)GlobalAdministrator%}