Sha256: d67d00a94a769664287d0914db562d6e3852da9cff0070d186854923601f947c

Contents?: true

Size: 1.93 KB

Versions: 7

Compression:

Stored size: 1.93 KB

Contents

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

  <header class="post-header">
    <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
    <p class="post-meta">
      <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
        {% assign date_format = site.jekyll-theme-niveus.date_format | default: "%b %-d, %Y" %}
        {{ page.date | date: date_format }}
      </time>
      {% if page.author %}
        • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>
      {% endif %}</p>
  </header>

  <div class="post-content" itemprop="articleBody">
    {{ content }}
  </div>
  
  <div class="post-categories">
  {% if page.categories %}
    Categories:
    {% for category in page.categories %}
      <a href="{{ site.baseurl }}{{ category | remove:' ' | downcase }}">{{ category }}</a>
    {% endfor %}
  {% endif %}
  </div>
  
  <div class="post-tags">
  {% if page.tags %}
    Tags:
    {% for tag in page.tags %}
      <span>{{ tag }}</span>{% unless forloop.last %},{% endunless %}
    {% endfor %}
  {% endif %}
  </div>
  
  {% if site.disqus.shortname %}
    {% include disqus_comments.html %}
  {% endif %}
  
  <div class="post-navigation">
    {% if page.previous %}
        <a href="{{ page.previous.url }}">← {{ page.previous.title }}</a>
    {% else %}
        <span class="empty"></span>
    {% endif %}
    
    {% if page.next %}
        <a href="{{ page.next.url }}">{{ page.next.title }} →</a>
    {% else %}
        <span class="empty"></span>
    {% endif %}
  </div>

  {% if site.related_posts %}
  <div class="post-related">
    <div>
	  <h3>Related Posts</h3>
	    <ul>
	    {% for post in site.related_posts %}
		  <li><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></li>    
		{% endfor %}
      </ul>
	</div>
  </div>
  {% endif %}
  
</article>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jekyll-theme-niveus-1.1.1 _layouts/post.html
jekyll-theme-niveus-1.1.0 _layouts/post.html
jekyll-theme-niveus-1.0.4 _layouts/post.html
jekyll-theme-niveus-1.0.3 _layouts/post.html
jekyll-theme-niveus-1.0.2 _layouts/post.html
jekyll-theme-niveus-1.0.1 _layouts/post.html
jekyll-theme-niveus-1.0.0 _layouts/post.html