2016-09-11 11:00:49 +00:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
route: documentation
|
|
|
|
---
|
|
|
|
|
2018-04-09 21:25:26 +00:00
|
|
|
{% include global/navbar.html id="Documentation" %}
|
2016-09-11 11:00:49 +00:00
|
|
|
|
2018-04-09 16:59:04 +00:00
|
|
|
{% assign current_category = page.doc-tab %}
|
2018-04-09 11:45:52 +00:00
|
|
|
{% assign current_link_id = page.breadcrumb | last %}
|
2018-04-09 19:19:29 +00:00
|
|
|
{% assign current_link = site.data.links.by_id[current_link_id] %}
|
2018-04-09 16:59:04 +00:00
|
|
|
{% assign category_links = site.data.links.categories[current_category] %}
|
2018-04-09 11:45:52 +00:00
|
|
|
|
|
|
|
{% for link_id in category_links %}
|
|
|
|
{% if link_id == current_link_id %}
|
|
|
|
{% unless forloop.first %}
|
|
|
|
{% assign previous_index = forloop.index0 | minus: 1 %}
|
|
|
|
{% assign previous_link_id = category_links[previous_index] %}
|
|
|
|
{% assign previous_link = site.data.links.by_id[previous_link_id] %}
|
|
|
|
{% endunless %}
|
|
|
|
|
|
|
|
{% unless forloop.last %}
|
|
|
|
{% assign next_index = forloop.index0 | plus: 1 %}
|
|
|
|
{% assign next_link_id = category_links[next_index] %}
|
|
|
|
{% assign next_link = site.data.links.by_id[next_link_id] %}
|
|
|
|
{% endunless %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
|
2018-04-09 09:35:44 +00:00
|
|
|
<main class="bd-main">
|
|
|
|
<div class="bd-side-background"></div>
|
|
|
|
<div class="bd-main-container container">
|
|
|
|
<div class="bd-duo">
|
|
|
|
<div class="bd-lead">
|
2018-04-09 20:16:50 +00:00
|
|
|
{% include components/breadcrumb.html %}
|
2018-04-09 09:35:44 +00:00
|
|
|
|
|
|
|
<header class="bd-header">
|
2018-04-09 15:50:33 +00:00
|
|
|
<div class="bd-header-titles">
|
|
|
|
<h1 class="title">
|
|
|
|
{{ page.title }}
|
|
|
|
</h1>
|
|
|
|
<p class="subtitle is-4">
|
2018-04-09 20:16:50 +00:00
|
|
|
{% if page.subtitle %}
|
2018-04-09 19:19:29 +00:00
|
|
|
{{ page.subtitle }}
|
2018-04-09 20:16:50 +00:00
|
|
|
{% else %}
|
|
|
|
{{ current_link.subtitle }}
|
2018-04-09 19:19:29 +00:00
|
|
|
{% endif %}
|
2018-04-09 15:50:33 +00:00
|
|
|
</p>
|
|
|
|
{% if page.meta %}
|
|
|
|
{%
|
2018-04-09 21:25:26 +00:00
|
|
|
include elements/meta.html
|
2018-04-09 15:50:33 +00:00
|
|
|
colors=page.meta.colors
|
|
|
|
sizes=page.meta.sizes
|
|
|
|
variables=page.meta.variables
|
|
|
|
experimental=page.meta.experimental
|
|
|
|
%}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2018-04-09 13:15:31 +00:00
|
|
|
|
2018-04-09 15:50:33 +00:00
|
|
|
<div class="bd-header-carbon">
|
2018-04-09 21:25:26 +00:00
|
|
|
{% include elements/carbon.html %}
|
2018-04-09 15:50:33 +00:00
|
|
|
</div>
|
2018-04-09 09:35:44 +00:00
|
|
|
</header>
|
2016-09-11 11:00:49 +00:00
|
|
|
|
2018-04-09 09:35:44 +00:00
|
|
|
<div class="bd-content">
|
|
|
|
{{ content }}
|
|
|
|
</div>
|
2018-04-09 11:45:52 +00:00
|
|
|
|
2018-04-09 19:19:29 +00:00
|
|
|
<nav class="bd-prev-next-bis">
|
|
|
|
{% if previous_link %}
|
|
|
|
<a class="bd-prev-next-bis-previous" href="{{ site.url }}{{ previous_link.path }}" title="{{ previous_link.name }}">
|
|
|
|
← {{ previous_link.name }}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if next_link %}
|
|
|
|
<a class="bd-prev-next-bis-next" href="{{ site.url }}{{ next_link.path }}" title="{{ next_link.name }}">
|
|
|
|
{{ next_link.name }} →
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</nav>
|
|
|
|
|
2018-04-09 11:45:52 +00:00
|
|
|
{% include elements/improve-page.html %}
|
2016-09-11 11:00:49 +00:00
|
|
|
</div>
|
|
|
|
|
2018-04-09 09:35:44 +00:00
|
|
|
<aside class="bd-side">
|
2018-04-09 19:19:29 +00:00
|
|
|
{% unless page.hide_categories %}
|
2018-04-10 17:50:19 +00:00
|
|
|
{% include components/categories.html %}
|
2018-04-09 19:19:29 +00:00
|
|
|
{% endunless %}
|
2018-04-09 09:35:44 +00:00
|
|
|
</aside>
|
2018-04-09 15:15:58 +00:00
|
|
|
</div>
|
2017-07-24 18:36:40 +00:00
|
|
|
</div>
|
2018-04-09 09:35:44 +00:00
|
|
|
</main>
|