Sha256: a53021f446b8cd416fa61e19d310cdd11161c74c5eb00646236df75ab469178a

Contents?: true

Size: 1.95 KB

Versions: 10

Compression:

Stored size: 1.95 KB

Contents

---
layout: default
---

{% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
{% assign license = site.posts | find: "layout", "license" %}

<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">

  <header class="post-header">
    <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
    <p class="post-meta">
      <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
        {{ page.date | date: date_format }}
      </time>
      {%- if page.modified_date -%}
        ~
        {%- assign mdate = page.modified_date | date_to_xmlschema -%}
        <time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
          {{ mdate | date: date_format }}
        </time>
      {%- endif -%}
      {%- if page.author -%}
        • {% for author in page.author %}
          <span itemprop="author" itemscope itemtype="http://schema.org/Person">
            <span class="p-author h-card" itemprop="name">{{ author }}</span></span>
            {%- if forloop.last == false %}, {% endif -%}
        {% endfor %}
      {%- endif -%}</p>

    {%- if page.image.path -%}
      <img itemprop="image" src="{{ page.image.path }}" alt="{{ page.image.description | default: page.title }}" />
    {%- endif -%}
  </header>

  <div class="post-content e-content" itemprop="articleBody">
    {{ content }}
  </div>

  <footer>
    <a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
      {{ site.url }}{{ page.url }}
    </a>

    {%- if page.uuid -%}
      <span hidden itemprop="identifier">{{ page.uuid }}</span>
    {%- endif -%}

    {%- if license -%}
      <p itemprop="license" itemtype="http://schema.org/CreativeWork">
        <a rel="license" itemprop="url" href="{{ license.url }}">
          <span itemprop="articleBody">
            {{ license.description }}
          </span>
        </a>
      </p>
    {%- endif -%}
  </footer>
</article>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sutty-minima-2.7.0rc6 _layouts/post.html
sutty-minima-2.7.0rc3 _layouts/post.html
sutty-minima-2.7.0rc2 _layouts/post.html
sutty-minima-2.7.0rc1 _layouts/post.html
sutty-minima-2.7.0rc0 _layouts/post.html
sutty-minima-2.6.4 _layouts/post.html
sutty-minima-2.6.3 _layouts/post.html
sutty-minima-2.6.2 _layouts/post.html
sutty-minima-2.6.1 _layouts/post.html
sutty-minima-2.6.0 _layouts/post.html