Sha256: e2c3a58f8e2f6496165329b12df29dc3d1ad4490fe89b4e610ac0c18a27351cb

Contents?: true

Size: 1.52 KB

Versions: 2

Compression:

Stored size: 1.52 KB

Contents

{% if include.hide %}
  {% assign hide_on_phone = "hide-on-phone" | default: "" %}
{% endif %}
<aside class="{{ hide_on_phone }}">
  <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

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-98-0.2.0 _includes/desktop_icons.html
jekyll-98-0.1.0 _includes/desktop_icons.html