---
layout: layouts/base.njk
---
{# Reusable component for creating the docs sidebar #}
{% macro SidebarCategory(title, category) %}
{{ title }}
{% for post in collections.docs %}
{% if post.data.category === category %}
- {{ post.data.title }}
{% endif %}
{% endfor %}
{% endmacro %}
{%- if collections.docs %}
{%- set previousPost = collections.docs | getPreviousCollectionItem %}
{%- set nextPost = collections.docs | getNextCollectionItem %}
{%- if nextPost or previousPost %}
{%- endif %}
{%- endif %}