Sha256: 4ea6742792e3d7f20c84bc92ac4b19c5f644852afc23b112fae68a9c8375989b
Contents?: true
Size: 678 Bytes
Versions: 4
Compression:
Stored size: 678 Bytes
Contents
<nav id="sidebar-nav-links"> {% if site.sidebar_home_link %} <a class="home-link {% if page.url == '/' %} active{% endif %}" href="{{ "/" | relative_url }}">Home</a> {% endif %} {% if site.sidebar_blog_link %} <a class="page-link {% if page.url == site.sidebar_blog_link %} active{% endif %}" href="{{ site.sidebar_blog_link | relative_url }}">Blog</a> {% endif %} {% comment %} The code below dynamically generates a sidebar nav of pages with `sidebar_link: true` in the front-matter. See readme for usage. {% endcomment %} {% include page-links.html %} {% include category-links.html %} {% include custom-nav-links.html %} </nav>
Version data entries
4 entries across 4 versions & 1 rubygems