{# app/templates/search_results.html (新文件) #} {% extends "base.html" %} {% block content %}
关键词: {{ query }}
{{ entry.content | truncate(100) }}
{{ notification.content | truncate(150) }}
{% if current_user.is_admin() and not notification.is_published %} 草稿 {% endif %}