mirror of
https://github.com/alexankitty/Myrient-Search-Engine.git
synced 2026-01-15 16:33:15 -03:00
23 lines
897 B
Plaintext
23 lines
897 B
Plaintext
<%
|
|
let length = results.length > 5 ? 5 : results.length
|
|
let resultString = ''
|
|
for(let x = 0 ; x < length; x++){
|
|
resultString += `${x + 1}: ${results[x].file.filename}\n\n`
|
|
}
|
|
resultString = resultString.trim()
|
|
%>
|
|
<meta name="description" content="Myrient Search Results">
|
|
|
|
<!-- Facebook Meta Tags -->
|
|
<meta property="og:url" content="https://myrientsearch.org">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:title" content="Myrient Search Results: <%= query %>">
|
|
<meta property="og:description" content="<%= resultString %>">
|
|
|
|
<!-- Twitter Meta Tags -->
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta property="twitter:domain" content="myrientsearch.org">
|
|
<meta property="twitter:url" content="https://myrientsearch.org">
|
|
<meta name="twitter:title" content="Myrient Search Results: <%= query %>">
|
|
<meta name="twitter:description" content="<%= resultString %>">
|