layout: default


<h1>{{page.title}}</h1>

{{ content }}

{%- if site.oceanic.homepage_blog_entries and site.oceanic.homepage_blog_entries > 0 -%}

<h2>Recent Blog Entries...</h2>
{%- if site.posts.size > 0 -%}
  {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
  <ol class="blog-entries">
    {%- assign i = 0 -%}
    {%- for post in site.posts -%}
      <li role="article">
        <h3><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h3>
        <aside>Published: {{ post.date | date: date_format }}</aside>
        {{ post.excerpt }}
        <a href="{{ post.url | relative_url }}">Continue reading...</a></h3>
      </li>
      {%- assign i = i | plus: 1 -%}
      {%- if i >= site.oceanic.homepage_blog_entries -%}
        {%- break -%}
      {%- endif -%}
    {%- endfor -%}
  </ol>
{%- else -%}
  <p>No entries... yet.</p>
{%- endif -%}

{%- endif -%}