From 19809d2f43bf00d8a802988afd8f3c86f46c7628 Mon Sep 17 00:00:00 2001 From: hsy-0126 <73582197+hsy-0126@users.noreply.github.com> Date: Tue, 22 Jun 2021 11:17:21 +0800 Subject: [PATCH 01/11] Update search.html --- templates/search.html | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/templates/search.html b/templates/search.html index 1d83679..7168b8f 100644 --- a/templates/search.html +++ b/templates/search.html @@ -5,7 +5,7 @@ {{ message }} {% endif %} - {% if articles%} + {% if articles %}
| article_title | -comment | -time | -author | -
|---|---|---|---|
| article_title | +comment | +time | +author | +
| {{ Tool.highlight_matched_parts(comment.article.title, kwd) | safe }} | {{ Tool.highlight_matched_parts(Tool.sensitive_words_filter(comment.body), kwd) | safe }} | @@ -55,8 +57,18 @@{{ Tool.email_display_filter(comment.author.mail) }} |