Sha256: 693f5673e4c9ec16b9dd6dafeea61bf986570c9343e28081d3f7eb4396250bad

Contents?: true

Size: 1.14 KB

Versions: 6

Compression:

Stored size: 1.14 KB

Contents

---
layout: Page
---
<div>
  <main>
  {% capture site_tags %}{% for tag in site.tags %}{{ tag | first }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
  {% assign tag_words = site_tags | split:',' | sort %}

    <ul class="tags">
  <!--  cycles through tag list and creates header row of all tags used in site with accompanying per-tag counts...-->
    {% for this_word in tag_words %}
      <li ><a href="#{{ this_word | cgi_escape }}" class="tag">{{ this_word }} <span>({{ site.tags[this_word].size }})</span></a></li>
    {% endfor %}
    </ul>
  <!--cycles through tag list and creates subheader for each tag name...-->
    {% for this_word in tag_words %}
    <h2 id="{{ this_word | cgi_escape }}">{{ this_word }}</h2>
  <!--  lists all posts corresponding to specific tag...-->
      {% for post in site.tags[this_word] %}{% if post.title != null %}

      <li id="date-content" style="padding-bottom: 0.6em; list-style: none;"><a href="{{site.baseurl}}{{ post.url }}">{{ post.title }}</a>
        <small><span>| {{ post.date | date_to_string }}</span></small>
      </li>

      {% endif %}{% endfor %}
    {% endfor %}
</main>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
domain-jekyll-1.3.0 _layouts/Tags.html
domain-jekyll-1.2.1 _layouts/Tags.html
domain-jekyll-1.2.0 _layouts/Tags.html
domain-jekyll-1.1.0 _layouts/Tags.html
domain-jekyll-1.0.4 _layouts/Tags.html
domain-jekyll-1.0.3 _layouts/Tags.html