_layouts/post.html in no-style-please2-0.6.4 vs _layouts/post.html in no-style-please2-0.7.0
- old
+ new
@@ -13,11 +13,11 @@
{% 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>
- {%- capture enc %}{{ content | encrypt_if_need:page}}{% endcapture -%}
- {%- if enc == '' -%}
+ {%- capture encid %}{{ "" | get_encrypt_id:page}}{% endcapture -%}
+ {%- if encid == '' -%}
{{ content }}
{% else %}
{%-include encrypted.html-%}
{% endif %}