Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions src/_layouts/integration.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h1 id="{{ page.title | downcase }}" class="page__heading">
{{ content }}

{% if integration_type == destination %}
{% capture integration-foot %}{% include content/integration-foot.md %}{% endcapture %}
{% capture integration-foot %}{% include content/integration-foot.md %}{% endcapture %}
{{ integration-foot | markdownify }}
{% endif %}
</div>
Expand All @@ -77,9 +77,17 @@ <h1 id="{{ page.title | downcase }}" class="page__heading">

<div class="sidebar sidebar--sticky">
{%- unless page.hide_toc -%}
<div data-anchors-indicator data-sections="h2" data-active-class="menu-side__link--active">
{% include sidebar/menu-side.html class="menu-side" anchor_class="menu-side__link" html=content h_min=2 h_max=2 %}
</div>
{% if integration_type == destination %}
{% assign toc_foot = integration-foot | markdownify %}
{% assign toc_content = content | append: toc_foot %}
<div data-anchors-indicator data-sections="h2" data-active-class="menu-side__link--active">
{% include sidebar/menu-side.html class="menu-side" anchor_class="menu-side__link" html=toc_content h_min=2 h_max=2 %}
</div>
{% else %}
<div data-anchors-indicator data-sections="h2" data-active-class="menu-side__link--active">
{% include sidebar/menu-side.html class="menu-side" anchor_class="menu-side__link" html=content h_min=2 h_max=2 %}
</div>
{% endif %}
{%- endunless -%}

{% if page.related %}
Expand Down