File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2121 {% endfor %}
2222
2323 {% if lastmod_list.size > 0 %}
24- < div id ="access-lastmod " class ="post mb-4 "" >
24+ < div id ="access-lastmod " class ="post mb-4 ">
2525 < h3 data-toc-skip >
2626 {{- site.data.label.panel.lastmod -}}
2727 </ h3 >
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ <h3 class="pt-2 mt-1 mb-4" data-toc-skip>Related Posts</h3>
5656 </ span >
5757 < h3 class ="pt-0 mt-2 mb-3 " data-toc-skip > {{ post.title }}</ h3 >
5858 < div class ="text-muted small ">
59- < p > {{ post.content | markdownify | strip_html | truncate: 200 }}</ p >
59+ < p > {{ post.content | markdownify | strip_html | truncate: 200 | replace: '&', '&' }}</ p >
6060 </ div >
6161 </ div >
6262 </ a >
Original file line number Diff line number Diff line change 1212 {% if avatar | slice: 0 == '/' %}
1313 {% assign avatar = avatar | prepend: site.baseurl %}
1414 {% endif %}
15- < img src ="{{ avatar }} "> </ img >
15+ < img src ="{{ avatar }} ">
1616 </ a >
1717 </ div >
1818
Original file line number Diff line number Diff line change 1515 </ h1 >
1616 < div class ="post-content ">
1717 < p >
18- {{ post.content | strip_html | truncate: 200 }}
18+ {{ post.content | strip_html | truncate: 200 | replace: '&', '&' }}
1919 </ p >
2020 </ div >
2121
Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ <h1 data-toc-skip>{{ page.title }}</h1>
4848 {% capture post_content %}
4949 < div class ="post-content ">
5050 {% if page.image %}
51- < img src ="{{ page.image }} " class =" img-rounded " >
51+ < img src ="{{ page.image }} ">
5252 {% endif %}
5353 {{ content }}
5454 </ div >
5555 {% endcapture %}
5656
5757 <!-- Add lozad class into image tags. see: <https://github.com/ApoorvSaxena/lozad.js#usage> -->
5858 {% if post_content contains '< img src =' %}
59- {{ post_content | replace: '< img src =', '< img class ="lozad " data-src =' }}
59+ {{ post_content | replace: '< img src =', '< img class ="lozad " src =" /assets/img/commons/loading.png " data-src =' }}
6060 {% else %}
6161 {{ post_content }}
6262 {% endif %}
You can’t perform that action at this time.
0 commit comments