<div class="grid">
  {% assign url_parts = page.url | split: '/' %}
  {% if url_parts[1] == 'components' %}
    {% include asides/component_navigation.html | compact_newlines %}
  {% elsif url_parts[1] == 'cookbook' %}
    {% include asides/cookbook_navigation.html | compact_newlines %}
  {% else %}
    {% include asides/about.html %}

    {% if page.blog_index %}
      {% include asides/categories.html %}
    {% else %}
      {% include post/sharing.html %}
      {% include asides/recent_posts.html %}
    {% endif %}
  {% endif %}
</div>
