_layouts/post.html in jekyll-zeta-0.3.5.2 vs _layouts/post.html in jekyll-zeta-0.3.5.3
- old
+ new
@@ -1,19 +1,18 @@
---
layout: default
---
-
-<article>
{% assign titlelen = page.title.size %}
{% if titlelen > 0 %}
<h2>{{ page.title }}</h2>
{% endif %}
<time datetime="{{ page.date }}">{{ page.date | date: site.theme_config.post_date_format }}</time>
{% for tag in page.tags %}
{% capture tag_name %}{{ tag }}{% endcapture %}
<a href="{{ site.baseurl }}/tags/{{ tag_name }}.html"><text><nobr>#{{ tag_name }}</nobr></text> </a>
- {% endfor %}</span>
-
+ {% endfor %}
+
+<article>
{%- assign encid = "" | get_encrypt_id:page -%}
{%- if encid == '' -%}
{{ content }}
{% else %}
{%-include encrypted.html-%}