Search results
@@ -48,6 +46,8 @@
{% if result.search_description %}
{{ result.search_description }}
+ {% elif result.post.intro %}
+ {{ result.post.intro }}
{% endif %}
{% endfor %}
diff --git a/theme/static_src/src/styles.css b/theme/static_src/src/styles.css
index ec1481d..32a2042 100644
--- a/theme/static_src/src/styles.css
+++ b/theme/static_src/src/styles.css
@@ -60,11 +60,19 @@
@apply my-2 text-lg;
}
+ .search li {
+ @apply my-6;
+ }
+
+ .search li h4 {
+ @apply inline;
+ }
+
.blog-content ul, .home-content ul {
@apply list-none list-inside;
}
- .blog-content ul li::before, .home-content ul li::before {
+ .blog-content ul li::before, .home-content ul li::before, .search li::before {
content: "👉";
font-family: NotoEmoji;
@apply inline-block mr-2 py-1;