Sha256: 264575903f792fb0f0c415928fa95d0169fc227347e19ff8718f9facfb4228e5

Contents?: true

Size: 811 Bytes

Versions: 2

Compression:

Stored size: 811 Bytes

Contents

<!doctype html>
<html lang="en">
  {% include header.html -%}
  <body>
    {%- assign url = page.url | split: '/' -%}
    {%- assign tag = url.last -%}
    {%- for t in site.tags -%}
      {%- if t[0] != tag -%}
        {%- continue -%}
      {%- endif -%}
      {%- assign posts = t[1] -%}
      {%- break -%}
    {%- endfor -%}

    {% include logo.html image=site.acn.logo.alt_image size=site.acn.logo.alt_size title=tag -%}
    {%- if posts.size -%}
      {% include grid.html posts=posts %}
    {%- else -%}
      <article class="tiles">
        <ul>
          {%- for t in site.tags -%}
            <li><a href="/hashtags/{{ t[0] }}">{{ t[0] }}<sup>{{ t[1].size }}</sup></a></li>
          {%- endfor -%}
        </ul>
      </article>
    {%- endif -%}
    {%- include footer.html %}
  </body>
</html>


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
askclass-news-theme-0.4.1 _layouts/hashtag.html
askclass-news-theme-0.4.0 _layouts/hashtag.html