Sha256: bbc1a05577b921adeed0ef75b157948293150190fe87952fa9096e50a7ff68b0

Contents?: true

Size: 1.83 KB

Versions: 1

Compression:

Stored size: 1.83 KB

Contents

---
layout: default
---
<main aria-label="Content">
    <article itemscope itemtype="https://schema.org/BlogPosting">
      <header>
        {% if page.image -%}
        <img itemprop="image" src="{{ page.image }}" alt="{{ page.image_alt }}" title="{{ page.image_title }}">
        {%- endif %}
        <h1 itemprop="headline">{{ page.title | smartify }}</h1>
        <dl>
          {% assign date_format = site.jekyll-theme-mnc.date_format | default: "%b %-d, %Y" -%}
          <dt>Published</dt><dd><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: date_format }}</time></dd>
          {%- if page.last_modified_at -%}
          <dt>Updated</dt><dd><time datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="dateModified">{{ page.last_modified_at | date: date_format }}</time></dd>
          {%- endif -%}
          {%- if page.author %}
            {%- for author in page.author %}
          <dt>Author</dt><dd><span itemprop="author" itemscope itemtype="https://schema.org/Person"><span itemprop="name">{{ author }}</span></span></dd>
              {%- unless forloop.last %}, {% endunless -%}
            {% endfor %}
          {%- endif %}
          {% assign wpm = site.jekyll-theme-mnc.reading-speed | default: 180 -%}
          {%- assign minutes = content | strip_html | number_of_words | divided_by: wpm -%}
          {%- if minutes == 0 -%}
            {%- assign minutes = 1 -%}
          {%- endif -%}
          <dt>Reading time</dt><dd>{{ minutes }} minute{%- if minutes > 1 -%}s{%- endif %}</dd>
        </dl>
      </header>

      <div itemprop="articleBody">
        {{ content }}
      </div>

      {% if page.tumblelog_type %}
      {% include tumblelog-feed-subscription.html %}
      {%- else %}
      {% include feed-subscription.html %}
      {%- endif %}
    </article>
  </main>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-mnc-1.0.0 _layouts/post.html