{% if page.sub-nav-group %}
{% comment %}
The plain layout with a sub navigation.
- This is activated via the 'sub-nav-group' field in the preemble.
- All pages of this sub nav group will be displayed in the sub navigation:
* Each element without a 'sub-nav-parent' field will be displayed on the 1st level, where the position is defined via 'sub-nav-pos'.
* If the page should be displayed as a child element, it needs to specify a 'sub-nav-parent' field, which matches the 'sub-nav-id' of its parent. The parent only needs to specify this if it expects child nodes.
{% endcomment %}
{% comment %} Get all pages belonging to this group sorted by their position {% endcomment %}
{% assign group = (site.pages | where: "sub-nav-group" , page.sub-nav-group | where: "sub-nav-parent" , nil | sort: "sub-nav-pos") %}
{% for group_page in group %}
{% if group_page.sub-nav-id %}
{% assign sub_group = (site.pages | where: "sub-nav-group" , page.sub-nav-group | where: "sub-nav-parent" , group_page.sub-nav-id | sort: "sub-nav-pos") %}
{% else %}
{% assign sub_group = nil %}
{% endif %}
Important: Maven artifacts which depend on Scala are now suffixed with the Scala major version, e.g. "2.10" or "2.11". Please consult the migration guide on the project Wiki.
{% for group_page in group %}
{% if group_page.sub-nav-group-title %}
{{ page.title }}{% if page.is_beta %} (Beta){% endif %}
{{ content }}
{% else %}
{% comment %}
The plain layout without a sub navigation (only text).
{% endcomment %}
Important: Maven artifacts which depend on Scala are now suffixed with the Scala major version, e.g. "2.10" or "2.11". Please consult the migration guide on the project Wiki.
{{ page.title }}{% if page.is_beta %} Beta{% endif %}
{{ content }}
{% endif %}
{% comment %}
Removed until Robert complains... ;)