mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-24 16:43:15 +00:00
fix(search): restore full-text search for posts with description (#2557)
This commit is contained in:
@@ -11,7 +11,8 @@ swcache: true
|
||||
"categories": {{ post.categories | join: ', ' | jsonify }},
|
||||
"tags": {{ post.tags | join: ', ' | jsonify }},
|
||||
"date": {{ post.date | jsonify }},
|
||||
"content": {% include post-description.html json=true %}
|
||||
{% capture content -%}{% include post-summary.html full_text=true %}{%- endcapture -%}
|
||||
"content": {{ content | jsonify }}
|
||||
}{% unless forloop.last %},{% endunless %}
|
||||
{% endfor %}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user