fixed latest post preview when the preview contains html code

This commit is contained in:
Panos Sakkos 2015-08-29 22:45:45 +02:00
parent feb4960bfd
commit 57d0fd0cf8
2 changed files with 12 additions and 9 deletions

View file

@ -12,7 +12,7 @@
<small> <a href="{{ post.url }}#disqus_thread">Comments</a></small>
</h4>
{{ post.content | truncatewords: site.post-preview-words | markdownify }}
{{ post.content | truncatewords: site.post-preview-words | strip_html | markdownify }}
<a href="/blog/index.html"><h4><strong>View more posts</strong></h4></a>

View file

@ -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);