Sha256: e7752e7d2db0199c786b8e5ae80a24bbdf1eb4ef9cc23be99067adddf00b480b

Contents?: true

Size: 1.55 KB

Versions: 9

Compression:

Stored size: 1.55 KB

Contents

<nav id="sidebar-icon-links">
  {% if site.github.repo %}
    <a id="github-link"
       class="icon" title="Github Project" aria-label="Github Project"
       href="{{ site.github.repo }}">
      {% include svg/github.svg %}
    </a>
    <a id="github-download-link"
       class="icon" title="Download" aria-label="Download"
       href="{{ site.github.repo }}/archive/v{{ site.version }}.zip">
      {% include svg/download.svg %}
    </a>
  {% endif %}

  <a id="subscribe-link"
     class="icon" title="Subscribe" aria-label="Subscribe"
     href="{{ site.baseurl }}/feed.xml">
    {% include svg/feed.svg %}
  </a>

  {% comment %}
    Check if we have tag or search pages page active before linking to it.
  {% endcomment %}
  {% assign tags_page = false %}
  {% assign search_page = false %}
  {% for node in site.pages %}
    {% if node.layout == "tags" %}
      {% assign tags_page = node %}
    {% elsif node.layout == "search" %}
      {% assign search_page = node %}
    {% endif %}
  {% endfor %}

  {% if tags_page %}
    <a id="tags-link"
       class="icon{% if page.url == '/tags' %} active{% endif %}"
       title="Tags" aria-label="Tags"
       href="{{ site.baseurl }}{{ tags_page.url }}">
      {% include svg/tags.svg %}
    </a>
  {% endif %}

  {% if search_page %}
    <a id="search-link"
       class="icon{% if page.url == '/search' %} active{% endif %}"
       title="Search" aria-label="Tags"
       href="{{ site.baseurl }}{{ search_page.url }}">
      {% include svg/search.svg %}
    </a>
  {% endif %}

  {% include custom-icon-links.html %}
</nav>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
jekyll-theme-hydeout-3.5.1 _includes/sidebar-icon-links.html
jekyll-theme-hydeout-3.5.0 _includes/sidebar-icon-links.html
jekyll-theme-hydeout-3.4.3 _includes/sidebar-icon-links.html
jekyll-theme-hydeout-3.4.2 _includes/sidebar-icon-links.html
jekyll-theme-hydeout-3.4.1 _includes/sidebar-icon-links.html
jekyll-theme-hydeout-3.4.0 _includes/sidebar-icon-links.html
jekyll-theme-hydeout-3.3.1 _includes/sidebar-icon-links.html
jekyll-theme-hydeout-3.3.0 _includes/sidebar-icon-links.html
jekyll-theme-hydeout-3.2.0 _includes/sidebar-icon-links.html