Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select name="mobile-menu" class="navigationSelector" id="mobile-menu">
- {% for link in linklists.main-menu.links %}
- {% capture child_list_handle %}{{ link.title | handleize }}{% endcapture %}
- {% if linklists[child_list_handle].links != blank %}
- <option value="{{ link.url | escape }}">{{ link.title | escape }}</option>
- {% for childlink in linklists[child_list_handle].links %}
- <option value="{{ childlink.url | escape }}"> > {{ childlink.title | escape }}</option>
- {% endfor %}
- {% else %}
- <option value="{{ link.url | escape }}">{{ link.title | escape }}</option>
- {% endif %}
- {% endfor %}
- </select>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement