diff --git a/src/DjangoBlog-master/templates/search/indexes/blog/article_text.txt b/src/DjangoBlog-master/templates/search/indexes/blog/article_text.txt index 4f9ca76..0631f03 100644 --- a/src/DjangoBlog-master/templates/search/indexes/blog/article_text.txt +++ b/src/DjangoBlog-master/templates/search/indexes/blog/article_text.txt @@ -1,3 +1,3 @@ -{{ object.title }} -{{ object.author.username }} -{{ object.body }} \ No newline at end of file +{{ object.title }} {# 显示对象标题 #} +{{ object.author.username }} {# 显示作者用户名 #} +{{ object.body }} {# 显示对象内容 #} \ No newline at end of file