Sha256: c3ac21a83938abc1f18127f8f3d20b1e2f6c7c6fe28ed60ea1029b14aba9c707

Contents?: true

Size: 1.12 KB

Versions: 6

Compression:

Stored size: 1.12 KB

Contents

---
layout: base
---

{% assign strings = site.data.strings %}

<article class="page" role="article">
  <header>
    <h1 class="page-title">{{ page.title | default:strings.home | default:"Home" }}</h1>
    {% include message.html text=page.description hide=page.hide_description %}
  </header>

  {{ content }}

  <hr class="dingbat"/>

  {% if site.posts.size > 0 %}
    <h2 class="hr">{{ strings.posts | default:"Posts" }}</h2>
    <ul class="related-posts">
      {% for post in site.posts limit:5 %}
        {% include post-list-item.html post=post %}
      {% endfor %}
    </ul>
  {% endif %}

  {% assign pages = site.html_pages | where:"layout","page" | where_exp:"page","page.sitemap != false" %}
  {% if pages.size > 0 %}
    <h2 class="hr">{{ strings.pages | default:"Pages" }}</h2>
    <ul class="related-posts">
      {% for page in pages limit:5 %}
        {% if page.layout == 'page' %}
          <li class="h4">
            <a href="{{ page.url | relative_url }}" class="flip-title">
              <span>{{ page.title }}</span>
            </a>
          </li>
        {% endif %}
      {% endfor %}
    </ul>
  {% endif %}
</article>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jekyll-theme-hydejack-7.4.1 _layouts/default.html
jekyll-theme-hydejack-7.4.0 _layouts/default.html
jekyll-theme-hydejack-7.3.0 _layouts/default.html
jekyll-theme-hydejack-7.2.0 _layouts/default.html
jekyll-theme-hydejack-7.1.1 _layouts/default.html
jekyll-theme-hydejack-7.1.0 _layouts/default.html