From 143353d4ae0bc8df66a7c7cce670b96b459e60fc Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Sat, 10 Feb 2024 09:04:13 +0000 Subject: [PATCH] use duckduckscrape --- html/search-web.ejs | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/html/search-web.ejs b/html/search-web.ejs index d3f5d89c..c352c341 100644 --- a/html/search-web.ejs +++ b/html/search-web.ejs @@ -134,7 +134,19 @@ summary:hover{ font-family: ubuntu, sans-serif; } - +.search-result{ + color: white; + width: 52em; + display: block; + white-space: -moz-pre-wrap !important; + white-space: -pre-wrap; + white-space: -o-pre-wrap; + white-space: pre-wrap; + word-wrap: break-word; + white-space: -webkit-pre-wrap; + word-break: break-all; + white-space: normal; + } .hide { display: none; } @@ -445,17 +457,17 @@ Web
<% results.forEach(x => { %> -
+
- <%= x.title %>
-

<%= x.href %>
+ <%= x.title %>
+

<%= x.url %>
<% if (!isMobile) { %> - <%= x.body %> + <%- x.description %> <% } %> <% if (isMobile) { %> - - <%= x.body %> + + <%- x.description %> <% } %>