Sha256: 8d09f16d59e7bd71cf5733bf5212340881527b998a268f95c9032772bf953414

Contents?: true

Size: 1.74 KB

Versions: 5

Compression:

Stored size: 1.74 KB

Contents

---
layout: default
---

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

  <header class="post-header">

    <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
    <p class="post-meta">
      {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
      <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
        {{ page.date | date: date_format }}
      </time>
      {%- if page.modified_date -%}
        ~ 
        {%- assign mdate = page.modified_date | date_to_xmlschema -%}
        <time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
          {{ mdate | date: date_format }}
        </time>
      {%- endif -%}
      {%- if page.author -%}
        • {% for author in page.author %}
          <span itemprop="author" itemscope itemtype="http://schema.org/Person">
            <span class="p-author h-card" itemprop="name">{{ author }}</span></span>
            {%- if forloop.last == false %}, {% endif -%}
        {% endfor %}
      {%- endif -%}
    </p>

    {% if page.tags.size > 0 %}
      <p class="post-meta post-tags">
        {% assign tags = page.tags | sort %}
        {% for tag in tags %}
          <span class="post-tag">
            {% assign slugified_tag = tag | slugify %}
            <a href="{{ '/tags/#:tag' | replace: ':tag', slugified_tag | relative_url }}">#{{ slugified_tag }}</a>
          </span>
        {% endfor %}
      </p>
    {% endif %}

  </header>

  <div class="post-content e-content" itemprop="articleBody">
    {{ content }}

    {% if page.comments != false and jekyll.environment == "production" %}
      {% include disqus.html %}
    {% endif %}
  </div>
  
</article>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jekyll-theme-hamilton-1.4.4 _layouts/post.html
jekyll-theme-hamilton-1.4.3 _layouts/post.html
jekyll-theme-hamilton-1.4.2 _layouts/post.html
jekyll-theme-hamilton-1.4.1 _layouts/post.html
jekyll-theme-hamilton-1.4.0 _layouts/post.html