You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3 年之前
3 年之前
1234567891011121314151617
  1. <ul id="menu">
  2. <li class="elm-menu">
  3. <a class="{{ app.request.attributes.get('_route') == 'app_homepage' ? 'selected' : '' }}" href="{{ path('app_homepage') }}">{{ 'menu.home'|trans }}</a>
  4. </li>
  5. {% for page in getPagesNav() %}
  6. <li class="elm-menu">
  7. <a class="{{ app.request.get('pageSlug') == page.slug ? 'selected' : '' }}" href="{{ path('app_page', {'pageSlug' : page.slug}) }}">{{ page.title }}</a>
  8. </li>
  9. {% endfor %}
  10. </ul>
  11. {% for lg, url in sov_translated_urls() %}
  12. <a class="{{ app.request.locale == lg ? 'selected' : '' }}" title="{{ "misc.switch"|trans({"%lang%": lg}) }}" href="{{ url }}">{{ lg }}</a>
  13. {% if lg == 'fr' %}
  14. <span class="slash">/</span>
  15. {% endif %}
  16. {% endfor %}