sulu_content_root_pathΒΆ

Returns the absolute URL for the content root at the given path

<ul class="nav nav-justified">
    {% for item in content.snippets[0].internalLinks %}
        <li>
            <a href="{{ sulu_content_root_path(item.url, item.webspaceKey) }}" title="{{ item.title }}">{{ item.title }}</a>
        </li>
    {% endfor %}
</ul>

Arguments:

  • url: string - Url to get path

  • webspaceKey string - If item is not in the same webspace as current content (optional)

Returns: string - Absolute URL