<aside id="sidebar">
    <ul>
        {% for block in page.blocks.type('jump_links_block') %}
            {% for link in block.jump_links %}
                <li class="{{ loop.first ? 'selected' }} jump-link-set-{{ block.id }}">
                    <a id="jump-link-{{ link.id }}" href="{{ link.url.normalize }}" onclick="$('.jump-link-set-{{ block.id }}').removeClass('selected'); $(this).parent().addClass('selected');">{{ link.title }}</a>
                </li>
            {% endfor %}
        {% endfor %}
    </ul>
</aside>
