MarginaliaSearch/code/services-application/search-service/resources/jte/part/head.jte

29 lines
1.2 KiB
Plaintext
Raw Normal View History

@param String title
2024-12-06 20:38:36 +00:00
@param boolean allowIndexing = false
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Marginalia Search Engine - ${title}</title>
2024-12-06 20:38:36 +00:00
@if (!Boolean.getBoolean("test-env"))
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/fa-all.min.css" />
@else
@template.part.testenvHead()
@endif
@if (allowIndexing)
<meta name="robots" content="index">
<meta property="og:description" content="search.marginalia.nu is a small independent do-it-yourself search engine for surprising but content-rich websites that never ask you to accept cookies or subscribe to newsletters. The goal is to bring you the sort of grass fed, free range HTML your grandma used to write. " />
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="search.marginalia.nu" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://search.marginalia.nu/" />
@else
<meta name="robots" content="noindex">
@endif
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Marginalia">
</head>