about summary refs log tree commit diff stats
path: root/internal/components/page.templ
diff options
context:
space:
mode:
authorAlan Pearce2024-12-31 14:56:37 +0100
committerAlan Pearce2025-01-02 15:05:56 +0100
commit58643f38bdd62dc538a03865b1f81eb77d957779 (patch)
treebf2c5ccce1592ae8bc30508be38510f15fe31b5e /internal/components/page.templ
parent1872c47e393e9c4c811f3b90ec2e0ac4cd8767b2 (diff)
downloadsearchix-58643f38bdd62dc538a03865b1f81eb77d957779.tar.lz
searchix-58643f38bdd62dc538a03865b1f81eb77d957779.tar.zst
searchix-58643f38bdd62dc538a03865b1f81eb77d957779.zip
feat: show scores in results table in dev mode
Diffstat (limited to 'internal/components/page.templ')
-rw-r--r--internal/components/page.templ7
1 files changed, 6 insertions, 1 deletions
diff --git a/internal/components/page.templ b/internal/components/page.templ
index b6c9a82..127d1ba 100644
--- a/internal/components/page.templ
+++ b/internal/components/page.templ
@@ -15,7 +15,12 @@ templ Page(tdata TemplateData) {
 		<head>
 			<meta charset="utf-8"/>
 			<meta name="viewport" content="width=device-width, initial-scale=1"/>
-			<title>Searchix</title>
+			<title>
+				Searchix
+				if config.DevMode {
+					(Dev)
+				}
+			</title>
 			for _, sheet := range tdata.Assets.Stylesheets {
 				<link href={ sheet.URL } rel="stylesheet" integrity={ "sha256-" + sheet.Base64SHA256 }/>
 			}