Sha256: 97d71f8c427c6dadf2779c3b8039d2af5573c356ba7e8c9fd13de59f67ed8e71

Contents?: true

Size: 1.13 KB

Versions: 9

Compression:

Stored size: 1.13 KB

Contents

{%- comment -%}
  Include as: {%- include components/sidebar.html -%}
  Depends on: page(?), site.
  Results in: HTML for the side bar.
  Includes:
    title.html, components/site_nav.html, nav_footer_custom.html
  Overwrites:
    nav_footer_custom.
  Should not be cached, because nav_footer_custom.html might depend on page.
{%- endcomment -%}

<div class="side-bar">
  <div class="site-header" role="banner">
    <a href="{{ '/' | relative_url }}" class="site-title lh-tight">{% include title.html %}</a>
    <button id="menu-button" class="site-button btn-reset" aria-label="Toggle menu" aria-pressed="false">
      <svg viewBox="0 0 24 24" class="icon" aria-hidden="true"><use xlink:href="#svg-menu"></use></svg>
    </button>
  </div>

  {% include_cached components/site_nav.html %}

  {% capture nav_footer_custom %}
    {%- include nav_footer_custom.html -%}
  {% endcapture %}
  {% if nav_footer_custom != "" %}
    {{ nav_footer_custom }}
  {% else %}
    <footer class="site-footer">
      This site uses <a href="https://github.com/just-the-docs/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll.
    </footer>
  {% endif %}
</div>

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
just-the-docs-0.10.0 _includes/components/sidebar.html
just-the-docs-0.9.0 _includes/components/sidebar.html
opendevsecops-jekyll-0.1.2 _includes/components/sidebar.html
opendevsecops-jekyll-0.1.1 _includes/components/sidebar.html
opendevsecops-jekyll-0.1.0 _includes/components/sidebar.html
just-the-docs-0.8.2 _includes/components/sidebar.html
just-the-docs-0.8.1 _includes/components/sidebar.html
just-the-docs-0.8.0 _includes/components/sidebar.html
just-the-docs-0.7.0 _includes/components/sidebar.html