Multisite question.... how do I output the site into the assets path? currentSite won't work because its the admin panel, so the current site is always the default site.
Using the below, I will always get /default/footer-content
with this, regardless of which site is having its field edited.
{{ craft.request.getParam('site')|length ? craft.request.getParam('site') : craft.request.getSegment(2) }}/footer-content
– cherrykoda 2 days ago