summaryrefslogtreecommitdiff
path: root/app/views/search
diff options
context:
space:
mode:
authorCharlie Root <root@web.ccc.local>2025-01-28 22:47:15 +0100
committerCharlie Root <root@web.ccc.local>2025-01-28 22:47:15 +0100
commitc4296b59a7f9d667d295f9c37b71f7849b818fb3 (patch)
treeccbace3a183c075991a0dfeb1dd9e6f25e901cf3 /app/views/search
parentdfbaadf0210b02a8bb54380c2c50302413dcf6d6 (diff)
Big overhaul patch and style changes
Diffstat (limited to 'app/views/search')
-rw-r--r--app/views/search/_search_result.html.erb6
1 files changed, 3 insertions, 3 deletions
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 @@
1<% if node.head %> 1<% if node and node.head %>
2<div class="article_partial"> 2<div class="article_partial" lang="<%= node.head.effective_lang %>">
3 <h2 class="headline"><%= link_to node.head.title, content_path(node.unique_path) %></h2> 3 <h2 class="headline"><%= link_to node.head.title, content_path(node.unique_path) %></h2>
4 <p class="excerpt"><%= node.head.abstract %></p> 4 <p class="excerpt"><%= node.head.abstract %></p>
5</div> 5</div>
6<% end %> \ No newline at end of file 6<% end %>