Sha256: 034c2eff59472309a08aaad5565b5d2b0c8c318444b8a3faeed0fa183be00450

Contents?: true

Size: 1.5 KB

Versions: 1

Compression:

Stored size: 1.5 KB

Contents

---
layout: default
---
<main aria-label="Content" itemscope itemtype="https://schema.org/Blog">
    <h1>Tumblelog</h1>

    {%- assign date_format = site.jekyll-theme-mnc.date_format | default: "%b %-d, %Y" -%}
    {%- for post in site.posts -%}
      {%- if post.tumblelog_type -%}

    <article itemscope itemtype="https://schema.org/BlogPosting">
      <header>
        {% if post.image -%}
        <img itemprop="image" src="{{ post.image }}" alt="Header image">
        {%- endif %}
        <h2 itemprop="headline">{{ post.title | smartify }}</h2>
        <dl>
          <dt>Published</dt><dd><time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: date_format }}</time></dd>
          {%- if post.last_modified_at -%}
          <dt>Updated</dt><dd><time datetime="{{ post.last_modified_at | date_to_xmlschema }}" itemprop="dateModified">{{ post.last_modified_at | date: date_format }}</time></dd>
          {%- endif -%}
          {%- if post.author %}
            {%- for author in post.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 %}
        </dl>
      </header>

      <div itemprop="articleBody">
        {{ post.content }}
      </div>
    </article>
      {%- endif -%}
    {%- endfor -%}

    {% include tumblelog-feed-subscription.html %}
  </main>

Version data entries

1 entries across 1 versions & 1 rubygems

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