Sha256: 71d08832b4c0de5e33df0aee8a94e7ee6e7039d47a88a4b4801ed948a8d42759

Contents?: true

Size: 1.54 KB

Versions: 3

Compression:

Stored size: 1.54 KB

Contents

{% if include.hide %}
  {% assign hide_on_phone = "hide-on-phone" | default: "" %}
{% endif %}
<aside class="{{ hide_on_phone }}" style="width: 128px">
  <nav class="desktop-icons">
    <a href="{{ "/" | absolute_url}}">
      <div class="desktop-icon">
        {% capture iconlink %}/assets/icons/{{ site.jekyll-98.icon | default: 'computer' }}.png{% endcapture %}
        <img src="{{ iconlink | absolute_url }}" alt="Computer Icon Click To Go Home" />
        <figcaption>{{ site.title }}</figcaption>
      </div>
    </a>

    {% for category in site.jekyll-98.desktop_categories %}
      {% assign category_exists = site.categories[category] %}
      {% if category_exists.size > 0 %}
        <a href="{{ "/category/" | append: category | absolute_url }}">
          <div class="desktop-icon">
            <img src="{{ "/assets/icons/documents.png" | absolute_url }}" alt="Folder icon click to go to see {{ category }} posts" />
            <figcaption>{{ category | capitalize }}</figcaption>
          </div>
        </a>
      {% endif %}
    {% endfor %}

    {%- for icon in site.jekyll-98.site_links -%}
      {%- if icon.title and icon.url -%}
        <a href="{{ icon.url }}" target="{{ icon.target }}">
          <div class="desktop-icon">
            {% capture iconlink %}/assets/icons/{{ icon.icon | default: 'document' }}.png{% endcapture %}
            <img src={{ iconlink | absolute_url }} alt="{{ icon.alt }}" />
            <figcaption>{{ icon.title }}</figcaption>
          </div>
        </a>
      {%- endif -%}
    {%- endfor -%}
  </nav>
</aside>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-98-0.3.3 _includes/desktop_icons.html
jekyll-98-0.3.2 _includes/desktop_icons.html
jekyll-98-0.3.0 _includes/desktop_icons.html