Sha256: 3db257392216feaf4240222fde565ae2c9c371cef13863889b3785fdbc320f45

Contents?: true

Size: 1.13 KB

Versions: 7

Compression:

Stored size: 1.13 KB

Contents

<div class="link-wrapper">
  <style scoped>
    h3 {
        margin: 1em 0 0.25em 0;
    }

    ul.link a {
      color:var(--clr-h1-and-bold);
      text-decoration:none;
    }

    ul.link a:hover, a:focus {
      color: var(--clr-a-text-hvr);
    }

    ul.content {
      margin-left: -1.4em;
    }

    ul.content a:hover, a:focus {
      text-decoration: underline;
    }

    .sublist {
      margin: 0 0 0;
    }

    ul.sublist {
      margin-left: -1.5em;
    }
  </style>
  {% if site.platforms %}
  <ul class="link">
    {%- for platform in site.platforms %}
    <li><a href="{{ platform.link }}">{{ platform.icon }}&nbsp;{{ platform.name }}</a></li>
    {%- endfor %}
  </ul>
  {% endif %}

  {% if site.navigation %}
  <h3>Contents:</h3>
  <ul class="content">
  {%- for item in site.navigation %}
    <li><a href="{{ item.link }}">{{ item.name }}</a>
        {% if item.sublist %}
        <ul class="sublist">
            {%- for subitem in item.sublist %}
            <li><a href="{{ subitem.link }}">{{ subitem.name }}</a></li>
            {%- endfor %}
        </ul>
        {% endif %}
    </li>
  {%- endfor %}
  </ul>
  {% endif %}
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jekyll-theme-minimalistic-0.3.2 _includes/sidebar.html
jekyll-theme-minimalistic-0.3.1 _includes/sidebar.html
jekyll-theme-minimalistic-0.3.0 _includes/sidebar.html
jekyll-theme-minimalistic-0.2.3 _includes/sidebar.html
jekyll-theme-minimalistic-0.2.21 _includes/sidebar.html
jekyll-theme-minimalistic-0.2.2 _includes/sidebar.html
jekyll-theme-minimalistic-0.2.1 _includes/sidebar.html