Sha256: 1365d9f352fff0db3c620d0f268b392cf23711f1e8ea0545fd1cfa82726a8737

Contents?: true

Size: 1.58 KB

Versions: 9

Compression:

Stored size: 1.58 KB

Contents

---
layout: default
---

<div class="home">

  {{ content }}

  {% capture site_lang %}{{ site.lang | default: "en" }}{% endcapture %}

  <ul class="post-list">
    {% for post in paginator.posts %}
      {% capture post_lang %}{{ post.lang | default: site_lang }}{% endcapture %}
      {% capture lang %}{% if post_lang != site_lang %}{{ post_lang }}{% endif %}{% endcapture %}

      <li{% if lang != empty %} lang="{{ lang }}"{% endif %}>
        <header class="post-header">
          <h1 class="post-title">
            {% if post.external-url %}
              <a class="post-link" href="{{ post.external-url }}">{{ post.title | escape }} &rarr;</a>
            {% else %}
              <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
            {% endif %}
          </h1>

          <p class="post-meta">
            {{ post.date | date: "%b %-d, %Y" }}
            {% if post.categories != empty or post.tags != empty %}
              {% include category_links.html categories=post.categories tags=post.tags %}
            {% endif %}
            {% if post.external-url %}
              • <a href="{{ post.url | relative_url }}">Permalink</a>
            {% endif %}
          </p>
        </header>

        <div class="post-content">
          {{ post.excerpt }}
        </div>
        {% if post.content contains site.excerpt_separator %}
          <p class="post-continue">
            <a href="{{ post.url | relative_url }}">Read on &rarr;</a>
          </p>
        {% endif %}
      </li>
    {% endfor %}
  </ul>

  {% include pagination.html %}

</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
jekyll-whiteglass-1.9.1 _layouts/home.html
jekyll-whiteglass-1.9.0 _layouts/home.html
jekyll-whiteglass-1.8.2 _layouts/home.html
jekyll-whiteglass-1.8.1 _layouts/home.html
jekyll-whiteglass-1.8.0 _layouts/home.html
jekyll-whiteglass-1.7.1 _layouts/home.html
jekyll-whiteglass-1.7.0 _layouts/home.html
jekyll-whiteglass-1.6.1 _layouts/home.html
jekyll-whiteglass-1.6.0 _layouts/home.html