From 57d0fd0cf8e4c967a98409f48512e14a6177c09b Mon Sep 17 00:00:00 2001 From: Panos Sakkos Date: Sat, 29 Aug 2015 22:45:45 +0200 Subject: [PATCH] fixed latest post preview when the preview contains html code --- _includes/latest-post.html | 2 +- css/grayscale.css | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/_includes/latest-post.html b/_includes/latest-post.html index 0ef22269af835..4a0eb3f2c836b 100644 --- a/_includes/latest-post.html +++ b/_includes/latest-post.html @@ -12,7 +12,7 @@

{{ post.date | date_to_string }} Comments

- {{ post.content | truncatewords: site.post-preview-words | markdownify }} + {{ post.content | truncatewords: site.post-preview-words | strip_html | markdownify }}

View more posts

diff --git a/css/grayscale.css b/css/grayscale.css index e3edefae4d8cd..f893f68890f09 100755 --- a/css/grayscale.css +++ b/css/grayscale.css @@ -48,15 +48,9 @@ p { } } -ol, -ul { - text-align: center; - margin: 0 0 35px; - font-size: 20px; - line-height: 1.5; - list-style-position: inside; -} +nop { +} a { color: #fed136; @@ -77,6 +71,15 @@ a:focus { font-weight: 400; } +.personal-list { + text-align: center; + margin: 0 0 35px; + font-size: 20px; + line-height: 1.5; + list-style-position: inside; +} + + .navbar-custom { margin-bottom: 0; border-bottom: 1px solid rgba(255,255,255,.3);