From aa8e4275701763e1b51eeeec360d94b6c9d9b15b Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Sat, 5 Mar 2016 22:11:00 -0500 Subject: [PATCH] Markdownify titles and excerpts --- _includes/post-single.html | 6 +++--- _layouts/post.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/_includes/post-single.html b/_includes/post-single.html index e391187f..37390567 100644 --- a/_includes/post-single.html +++ b/_includes/post-single.html @@ -1,8 +1,8 @@
{% if post.link %} -

{{ post.title | markdownify | remove: "

" | remove: "

" }}

+

{{ post.title }}

{% else %} -

{{ post.title | markdownify | remove: "

" | remove: "

" }}

- {% if post.excerpt %}

{{ post.excerpt | strip_html | truncate: 160 }}

{% endif %} +

{{ post.title }}

{% endif %} + {% if post.excerpt %}

{{ post.excerpt | markdownify | strip_html | truncate: 160 }}

{% endif %}
\ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index afbb02e6..f91d37ea 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -12,14 +12,14 @@ layout: default
{% if page.link %} -

{{ page.title }}

+

{{ page.title | markdownify | remove: "

" | remove: "

" }}

{% else %} -

{{ page.title }}

+

{{ page.title | markdownify | remove: "

" | remove: "

" }}

{% endif %}
- {{ content }} + {{ content }}