I am making a super simple language switcher. And I was wondering if there is a way to get the baseUrl for a site by id or handle, something like this:
<a class="navbar-item" href="{{baseUrl.german}}"><img class="circular-square" src="/images/global/german.png" alt="Germany Flag" />DE<span class="sr-only">Deutsch</span></a>
What I'm trying to avoid doing is:
<a class="navbar-item" href="/de"><img class="circular-square" src="/images/global/german.png" alt="Germany Flag" />DE<span class="sr-only">Deutsch</span></a>
Or is that just how to you do?