mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
Remove line number from post snippet (#51).
Involves: - Home page - relate posts - search results - feed
This commit is contained in:
5
feed.xml
5
feed.xml
@@ -50,7 +50,10 @@ layout: compress
|
||||
{% if post.summary %}
|
||||
<summary>{{ post.summary | strip }}</summary>
|
||||
{% else %}
|
||||
<summary>{{ post.content | strip_html | truncate: 200 }}</summary>
|
||||
<summary>
|
||||
{% assign content = post.content %}
|
||||
{% include no-linenos.html %}
|
||||
{{ content | strip_html | truncate: 200 }}</summary>
|
||||
{% endif %}
|
||||
|
||||
</entry>
|
||||
|
||||
Reference in New Issue
Block a user