Sha256: 260bd1e1c1e6c57e55f736dd74d9b700a5c70c50603ac63d45ae03c98d6b8010
Contents?: true
Size: 1.58 KB
Versions: 4
Compression:
Stored size: 1.58 KB
Contents
<nav id="sidebar-icon-links"> {% if site.hydeout.repo %} <a id="github-link" class="icon" title="Github Project" aria-label="Github Project" href="{{ site.hydeout.repo }}"> {% include svg/github.svg %} </a> <a id="github-download-link" class="icon" title="Download" aria-label="Download" href="{{ site.hydeout.repo }}/archive/v{{ site.hydeout.version }}.zip"> {% include svg/download.svg %} </a> {% endif %} <a id="subscribe-link" class="icon" title="Subscribe" aria-label="Subscribe" href="{{ site.feed.path | default: 'feed.xml' | relative_url }}"> {% 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="{{ tags_page.url | relative_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="Search" href="{{ search_page.url | relative_url }}"> {% include svg/search.svg %} </a> {% endif %} {% include custom-icon-links.html %} </nav>
Version data entries
4 entries across 4 versions & 1 rubygems