fixed latest post preview when the preview contains html code
This commit is contained in:
parent
feb4960bfd
commit
57d0fd0cf8
2 changed files with 12 additions and 9 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue