<th:block th:fragment="languageEntry(code, name)">
  <div class="lang-dropdown-item-wrapper">
      <a th:if="${code} == 'en_GB' or ${#lists.isEmpty(@languages) or #lists.contains(@languages, code)}"
        class="dropdown-item lang_dropdown-item" href="" th:data-bs-language-code="@{${code}}" th:text="${name}">
      </a>
  </div>
</th:block>
