Sha256: ffee7f0eca307906f1264f6e472e07a2009c1ae0e77c250763b97b723d112782

Contents?: true

Size: 1.62 KB

Versions: 2

Compression:

Stored size: 1.62 KB

Contents

---
layout: default
---

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

<article class="h-entry" itemscope itemtype="http://schema.org/Article">
  <header>
    <h1 class="p-name" itemprop="name headline">{{ page.title | default: '' | escape }}</h1>

    {%- if page.description -%}
      <p class="lead p-summary" itemprop="description">{{ page.description | default: '' | escape }}</p>
    {%- endif -%}

    <p>
      {{ site.i18n.published_at }}

      <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
        {{ page.date | date_local: date_format }}
      </time>

      {% if page.last_modified_at %}
        {{ site.i18n.last_modified_at }}

        <time class="dt-published" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="datePublished">
          {{ page.last_modified_at | date_local: date_format }}
        </time>
      {% endif %}
    </p>
  </header>

  <div class="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

2 entries across 1 versions & 1 rubygems

Version Path
sutty-jekyll-theme-0.2.0 _layouts/code_of_conduct.html
sutty-jekyll-theme-0.2.0 _layouts/license.html