aboutsummaryrefslogtreecommitdiff
path: root/htdocs/private/header.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/private/header.ejs')
-rw-r--r--htdocs/private/header.ejs19
1 files changed, 15 insertions, 4 deletions
diff --git a/htdocs/private/header.ejs b/htdocs/private/header.ejs
index 518b0a8..9236f3c 100644
--- a/htdocs/private/header.ejs
+++ b/htdocs/private/header.ejs
@@ -4,11 +4,22 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title><%- lang.global.website %> - <%= title %></title>
- <link rel="shortcut icon" href="/assets/logo.svg" type="image/svg+xml">
- <link rel="stylesheet" href="/assets/css/fonts.css">
- <link rel="stylesheet" href="/assets/css/rainbow.css">
+ <link rel="search" type="application/opensearchdescription+xml" title="WolfEye" href="/assets/opensearch.xml">
+ <script>
+ lang = JSON.parse(atob("<%- Buffer.from(JSON.stringify(lang)).toString("base64"); %>"));
+ </script>
+ <title><%
+
+ if (typeof title !== 'undefined') {
+ pgname = title + " - " + lang.global.website;
+ } else {
+ pgname = lang.global.website;
+ }
+
+ %><%= pgname %></title>
+ <link rel="shortcut icon" href="/assets/logo-small.svg" type="image/svg+xml">
<link rel="stylesheet" href="/assets/css/main.css">
+ <script src="/assets/jquery.js"></script>
</head>
<body>
<main style="overflow-x: hidden;"> \ No newline at end of file