aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/templates/search/indexes/sciblog
diff options
context:
space:
mode:
Diffstat (limited to '97suifangqa/templates/search/indexes/sciblog')
-rw-r--r--97suifangqa/templates/search/indexes/sciblog/blogannotation_text.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/97suifangqa/templates/search/indexes/sciblog/blogannotation_text.txt b/97suifangqa/templates/search/indexes/sciblog/blogannotation_text.txt
index a347fc0..ceb9fd7 100644
--- a/97suifangqa/templates/search/indexes/sciblog/blogannotation_text.txt
+++ b/97suifangqa/templates/search/indexes/sciblog/blogannotation_text.txt
@@ -1,5 +1,7 @@
+{%if object.type == 1 %}
{{ object.brief_content }}
{{ object.detail }}
{% for keyword in object.keywords.all %}
{{ keyword.content }}
{% endfor %}
+{% endif %}