Sha256: 651a9e7d80eb8e0ac51b3ad435d057d6a42f0e2f90c46e334b9a2d92714c53e3

Contents?: true

Size: 1.6 KB

Versions: 4

Compression:

Stored size: 1.6 KB

Contents

---
layout: default
---

<div class="home">

  {% include ad.html %}
  {% include newsletter_signup_small.html %}

  {{ content }}

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

  <div 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 %}
      {% assign excerpt=post.excerpt | replace: '<!-- Notice -->', '<!--' | replace: '<!-- End Notice -->', '-->' %}

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

          <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>
        </header>

        <div class="post-content">
          {{ 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 %} -->
      </article>
    {% endfor %}
  </div>

  {% include pagination.html %}

</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-theme-jsblog-1.1.3 _layouts/home.html
jekyll-theme-jsblog-1.1.2 _layouts/home.html
jekyll-theme-jsblog-1.1.1 _layouts/home.html
jekyll-theme-jsblog-1.1 _layouts/home.html