_layouts/post.html in quattle-1.5.5 vs _layouts/post.html in quattle-1.6.0
- old
+ new
@@ -1,62 +1,62 @@
----
-layout: default
----
-
-<article class="post">
-{% if page.link %}
-<h2 class="post-title"><a href="{{ page.link }}">
- {{ page.title | smartify }} <span class="link-arrow">→</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 -%}
- <br><span class="author">{% include author.html %}</span>
- </time>
-
- {{ 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 %} {% endunless %}
- {% endfor %}
- </div>
-
- {% if page.link %}
- <br>
- <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>
-
-</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>
+---
+layout: default
+---
+
+<article class="post">
+{% if page.link %}
+<h2 class="post-title"><a href="{{ page.link }}">
+ {{ page.title | smartify }} <span class="link-arrow">→</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 -%}
+ <br><span class="author">{% include author.html %}</span>
+ </time>
+
+ {{ 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 %} {% endunless %}
+ {% endfor %}
+ </div>
+
+ {% if page.link %}
+ <br>
+ <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>
+
+</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>