Sha256: dbba2b7bed8730094c80f48e6117785d512904aa84fb70f0093dd3c688ec4590

Contents?: true

Size: 1.78 KB

Versions: 1

Compression:

Stored size: 1.78 KB

Contents

---
layout: default
---

<article class="post">
{% if page.link %}
<h2 class="post-title"><a href="{{ page.link }}">
  {{ page.title | smartify }} <span class="link-arrow">&rarr;</span></a>
</h2>
  {% else %}
<h2 class="post-title">{{ page.title | smartify }}</h2>
  {% endif %}

  <time datetime="{{ page.date | date_to_xmlschema }}" class="post-date">{{ page.date | date_to_long_string: "ordinal", "US" }}
  {% if post %}
  {% assign categories = post.categories %}
  {% else %}
  {% assign categories = page.categories %}
  {% endif %}
  {% if categories.size > 0 %}•{% endif %}
  {% for category in categories %}
  <a href="{{site.baseurl}}/categories/#{{category|slugize}}">{{category}}</a>{% unless forloop.last %},{% endunless %}
  {% endfor %}
  {%- if page.last_modified_at -%}
  <br><i>Last updated on: {{ page.last_modified_at | date_to_long_string: "ordinal", "US" }}</i>
  {%- endif -%}
  </time>{% if page.link %}<span class="external-link">⌘ External Link</span>{% endif %}

  {{ content | smartify }}

  <br><br>
  <div class="tag-list">
  {% if post %}
  {% assign tags = post.tags %}
  {% else %}
  {% assign tags = page.tags %}
  {% endif %}
  {% for tag in tags %}
  <a href="{{site.baseurl}}/tags/#{{tag|slugize}}">{{tag}}</a>
  {% unless forloop.last %}&nbsp;{% endunless %}
  {% endfor %}
  </div>

  {% if page.link %}
  <span class="source" role="doc-endnotes">
  source: <a href="{{ page.link }}">{{ page.link | remove:'http://' | remove:'www.' | remove:'https://' | split:'/' | first }}</a>
  </span><br>
  {% endif %}
  <br><br>

</article>

<div class="PageNavigation">
  {% if page.previous.url %}
  <br><a class="prev" href="{{page.previous.url}}">← Previous</a>
  {% endif %}
  {% if page.next.url %}
  <br><a class="next" href="{{page.next.url}}">Next →</a>
  {% endif %}
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quattle-1.5.0 _layouts/post.html