Sha256: 459e3e9e44826bbc18907ce4578b7a192b08ccfd59ae2d79237ad45d278060f4

Contents?: true

Size: 1.92 KB

Versions: 1

Compression:

Stored size: 1.92 KB

Contents

---
layout: default
---

<article>
  <h1 class="mb2">{{ page.title }}</h1>
  <div class="avenir mb4 f6 f5-l body-color-light">
    <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
      {{ page.date | date_to_string }}
    </time>
    {%- if page.last_modified_at -%}
      ~
      {%- assign mdate = page.last_modified_at | date_to_xmlschema -%}
      <time datetime="{{ mdate }}" itemprop="dateModified">
        {{ mdate | date_to_string }}
      </time>
    {%- endif -%}
    {%- if page.author -%}
      •
      {% for author in page.author %}
        <span itemprop="author" itemscope itemtype="http://schema.org/Person">{{ author }}</span>
        {%- if forloop.last == false %}, {% endif -%}
      {% endfor %}
    {%- endif -%}
  </div>
  {{ content }}
</article>

<div class="avenir dt w-100 mv4">
  {% if page.previous %}
    <a class="dtc tc tl-l w-50 pa3 ba br4 br--left border-color body-color-dark hover-no-decoration hover-bg" href="{{ page.previous.url | relative_url }}">
      <i class="fas fa-chevron-left"></i> <span class="dn di-l">{{ page.previous.title | markdownify | strip_html }}</span>
    </a>
  {% else %}
    <span class="dtc tc tl-l w-50 pa3 ba br4 br--left border-color body-color-light"><i class="fas fa-chevron-left"></i></span>
  {% endif %}
  
  {% if page.next %}
    <a class="dtc tc tr-l w-50 pa3 ba br4 br--right border-color body-color-dark hover-no-decoration hover-bg" href="{{ page.next.url | relative_url }}">
      <span class="dn di-l">{{ page.next.title | markdownify | strip_html }}</span> <i class="fas fa-chevron-right"></i> 
    </a>
  {% else %}
    <span class="dtc tc tr-l w-50 pa3 ba br4 br--right border-color body-color-light"><i class="fas fa-chevron-right"></i></span>
  {% endif %}
</div>

{% if jekyll.environment == "production" and site.disqus and page.comments != false %}
  {% include disqus.html %}
{% endif %}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-tfg-0.1.0 _layouts/post.html