Sha256: 4d3adf6e915b0fc5c4e408f0ef6f04b8f700af71fbdd3aae9c2e5b6263e51391

Contents?: true

Size: 754 Bytes

Versions: 3

Compression:

Stored size: 754 Bytes

Contents

<!DOCTYPE html>
<html lang="en">
  {% include head.html %}

  <body>
    {% include header.html %}

    <main>
      <header>
        <h1>Category: {{ page.title }}</h1>
      </header>

      <div>
        <article>{{ content }}</article>
        {% capture get_category %}{{ page.title }}{% endcapture %}
        {% for post in site.categories[get_category] %}
        <article class="item">
          <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
          <ul>
            <li>Posted: {{ post.date }}</li>
            <li>Author: {{ post.author }}</li>
          </ul>
          {{ post.excerpt }}
        </article>
        {% endfor %}
      </div>
    </main>

    {% include footer.html %}
  </body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
charlie-lee-theme-0.2.1 _layouts/category.html
charlie-lee-theme-0.2.0 _layouts/category.html
charlie-lee-theme-0.1.0 _layouts/category.html