From 813c8c8ca6541b049bb1efc445c92a367360f151 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 24 Feb 2016 16:10:45 -0500 Subject: [PATCH] Cleanup auto generated excerpts --- _layouts/archive.html | 2 +- _layouts/post.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/archive.html b/_layouts/archive.html index 4f990a41..1bbfeecc 100644 --- a/_layouts/archive.html +++ b/_layouts/archive.html @@ -18,7 +18,7 @@ layout: default

{{ post.title }}

{% else %}

{{ post.title }}

-

{{ post.excerpt | remove: '\[ ... \]' | remove: '\( ... \)' | markdownify | strip_html | strip_newlines | escape_once }}

+

{{ post.excerpt | markdownify | strip_html | strip_newlines | escape_once }}

{% endif %} {% endfor %} diff --git a/_layouts/post.html b/_layouts/post.html index 417430be..16db9ebd 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -5,7 +5,7 @@ layout: default {% include absolute-url.liquid %}
- + {% if page.excerpt %}{% endif %} {% if page.date %}{% endif %} {% if page.modified %}{% endif %}