Sha256: be436013fb1ab6f5d1a0bb0bdab7386103d341258c4678cd72d7ed46732c21f7

Contents?: true

Size: 503 Bytes

Versions: 3

Compression:

Stored size: 503 Bytes

Contents

{% comment %}
  The code below dynamically generates a sidebar nav of pages with
  `sidebar_link: true` in the front-matter. See readme for usage.
{% endcomment %}
{% assign pages_list = site.pages|sort:"sidebar_sort_order" %}
{% for node in pages_list %}
  {% if node.title != null %}
    {% if node.sidebar_link %}
      <a class="page-link {% if page.url == node.url %} active{% endif %}"
          href="{{ node.url | relative_url }}">{{ node.title }}</a>
    {% endif %}
  {% endif %}
{% endfor %}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-theme-hydeout-4.1.0 _includes/page-links.html
jekyll-theme-hydeout-4.0.2 _includes/page-links.html
jekyll-theme-hydeout-4.0.1 _includes/page-links.html