1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Fixed some HTML tags.

This commit is contained in:
Cotes Chung
2019-12-23 00:55:51 +08:00
parent 40e44158ae
commit 77a47c4b62
6 changed files with 6 additions and 6 deletions

View File

@@ -21,7 +21,7 @@
{% endfor %}
{% if lastmod_list.size > 0 %}
<div id="access-lastmod" class="post mb-4"">
<div id="access-lastmod" class="post mb-4">
<h3 data-toc-skip>
{{- site.data.label.panel.lastmod -}}
</h3>

View File

@@ -56,7 +56,7 @@
</span>
<h3 class="pt-0 mt-2 mb-3" data-toc-skip>{{ post.title }}</h3>
<div class="text-muted small">
<p>{{ post.content | markdownify | strip_html | truncate: 200 }}</p>
<p>{{ post.content | markdownify | strip_html | truncate: 200 | replace: '&', '&amp;' }}</p>
</div>
</div>
</a>

View File

@@ -12,7 +12,7 @@
{% if avatar | slice: 0 == '/' %}
{% assign avatar = avatar | prepend: site.baseurl %}
{% endif %}
<img src="{{ avatar }}"></img>
<img src="{{ avatar }}">
</a>
</div>