Sha256: ad40113e2dc8761adf6e9b0b18071011d812b675a9963911878db728c070613e

Contents?: true

Size: 1.68 KB

Versions: 1

Compression:

Stored size: 1.68 KB

Contents

---
layout: default
---

<div class="home">

  {% include ad-home.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 -->', '-->' | replace: '<!-- Hidden -->', '<!--' | replace: '<!-- End Hidden -->', '-->' %}

      <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

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-jsblog-1.1.6 _layouts/home.html