Timothy Jaeryang Baek 3 هفته پیش
والد
کامیت
48ed800d91
2فایلهای تغییر یافته به همراه11 افزوده شده و 10 حذف شده
  1. 1 10
      src/app.html
  2. 10 0
      src/routes/+layout.svelte

+ 1 - 10
src/app.html

@@ -23,8 +23,6 @@
 			href="/static/apple-touch-icon.png"
 			crossorigin="use-credentials"
 		/>
-		<meta name="apple-mobile-web-app-title" content="Open WebUI" />
-
 		<link
 			rel="manifest"
 			href="/manifest.json"
@@ -37,14 +35,7 @@
 		/>
 		<meta name="theme-color" content="#171717" />
 		<meta name="robots" content="noindex,nofollow" />
-		<meta name="description" content="Open WebUI" />
-		<link
-			rel="search"
-			type="application/opensearchdescription+xml"
-			title="Open WebUI"
-			href="/opensearch.xml"
-			crossorigin="use-credentials"
-		/>
+
 		<script src="/static/loader.js" defer crossorigin="use-credentials"></script>
 		<link rel="stylesheet" href="/static/custom.css" crossorigin="use-credentials" />
 

+ 10 - 0
src/routes/+layout.svelte

@@ -694,6 +694,16 @@
 <svelte:head>
 	<title>{$WEBUI_NAME}</title>
 	<link crossorigin="anonymous" rel="icon" href="{WEBUI_BASE_URL}/static/favicon.png" />
+
+	<meta name="apple-mobile-web-app-title" content={$WEBUI_NAME} />
+	<meta name="description" content={$WEBUI_NAME} />
+	<link
+		rel="search"
+		type="application/opensearchdescription+xml"
+		title={$WEBUI_NAME}
+		href="/opensearch.xml"
+		crossorigin="use-credentials"
+	/>
 </svelte:head>
 
 {#if showRefresh}