Background
I currently am using the Bootstrap 4 theme and have created a custom sub theme. We have multiple sub sites that were created using symlinks and follow the schema of "www.main.com/site1", www.main.com/site2" and so on.
Question
I would like to create some custom code to configure a field but want to make it so that it only works for site1. For example, I wanted to add logic to the .theme file so that it only executes when on site2