Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ remote_theme: just-the-docs/just-the-docs
title: FalkorDB Docs
description: The FalkorDB documentation
logo: "/images/falkor-logo.png"
logo_link: "https://www.falkordb.com"
favicon_ico: "/images/favicon.ico"
gtm_tracking: GTM-MBWB627H

Expand Down
36 changes: 36 additions & 0 deletions _includes/components/sidebar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{%- 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">
{% if site.logo_link %}
<a href="{{ site.logo_link }}" class="site-title lh-tight">{% include title.html %}</a>
{% else %}
<a href="{{ '/' | relative_url }}" class="site-title lh-tight">{% include title.html %}</a>
{% endif %}
<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>