Sha256: 715df7f8f3f4c45ef4a62cf99861c07b999a42c833fde6c41f8501d2175a4504

Contents?: true

Size: 709 Bytes

Versions: 2

Compression:

Stored size: 709 Bytes

Contents

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

  <body>
    {% include header.html %}

    <main>
      <header class="hero">
        <div>
          <h1>{{ content | strip_html }}</h1>
        </div>
      </header>

      <div class="gallery cols-3">
      {% if page.collection %}
        {% assign items = site[page.collection] %}
      {% else %}
        {% assign items = site.posts %}
      {% endif %}
      {% for entry in items %}
        <article>
          <h2>{{ entry.title }}</h2>
          <a href="{{ entry.url }}"><span>Read</span></a>
        </article>
      {% endfor %}
      </div>
    </main>

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

Version data entries

2 entries across 2 versions & 1 rubygems

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