From c4296b59a7f9d667d295f9c37b71f7849b818fb3 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Tue, 28 Jan 2025 22:47:15 +0100 Subject: Big overhaul patch and style changes --- app/views/search/_search_result.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/views/search') diff --git a/app/views/search/_search_result.html.erb b/app/views/search/_search_result.html.erb index 14898a25..6cd01f88 100644 --- a/app/views/search/_search_result.html.erb +++ b/app/views/search/_search_result.html.erb @@ -1,6 +1,6 @@ -<% if node.head %> -
+<% if node and node.head %> +

<%= link_to node.head.title, content_path(node.unique_path) %>

<%= node.head.abstract %>

-<% end %> \ No newline at end of file +<% end %> -- cgit v1.3