diff --git a/_includes/related-posts.html b/_includes/related-posts.html index e5bf055..b02eb10 100644 --- a/_includes/related-posts.html +++ b/_includes/related-posts.html @@ -54,7 +54,7 @@ {{ post.date | date: POST_DATE }} {{ post.date | date_to_xmlschema }} -

{{ post.title }}

+

{{ post.title }}

{{ post.content | markdownify | strip_html | truncate: 200 | replace: '&', '&' }}

diff --git a/assets/css/post.scss b/assets/css/post.scss index 2f9204f..76e74d5 100644 --- a/assets/css/post.scss +++ b/assets/css/post.scss @@ -101,8 +101,9 @@ } #related-posts .card:hover { - -webkit-transform: translate3d(0, -8px, 0); - transform: translate3d(0, -8px, 0); + -webkit-transform: translate3d(0, -3px, 0); + transform: translate3d(0, -3px, 0); + filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.08)); } #related-posts .card h3 {