summaryrefslogtreecommitdiff
path: root/templates/home.html
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2022-10-17 17:08:14 -0600
committernavanchauhan <navanchauhan@gmail.com>2022-10-17 17:08:14 -0600
commit684cb35dfb982aaa89e7b91601c11ad8aec59c92 (patch)
treeb59a8ecc10f0682d484e494907cbb71ab101a674 /templates/home.html
parent01a24fd6b1208626e70d2f79b3d81579b6eb1603 (diff)
use global variables
Diffstat (limited to 'templates/home.html')
-rw-r--r--templates/home.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/home.html b/templates/home.html
index 830f376..ab185d4 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title>DogeKnows!</title>
+ <title>{{.GlobalVars.Name}}</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
<script src="https://kit.fontawesome.com/32c297b57b.js" crossorigin="anonymous"></script>
</head>
@@ -11,7 +11,7 @@
<section class="hero is-medium is-primary">
<div class="hero-body">
<h1 class="title">
- DogeKnows
+ {{ .GlobalVars.Name }}
</h1>
<p class="subtitle">
Full-text search FDA 510(k) database
@@ -23,7 +23,7 @@
<form action="/search" method="GET">
<div class="field has-addons">
<div class="control is-expanded has-icons-left">
- <input class="input is-large" type="text" name="query" value="{{.OriginalQuery.Query}}" placeholder="Query" spellcheck="false">
+ <input class="input is-large" type="text" name="query" placeholder="Query" spellcheck="false">
<span class="icon is-small is-left">
<i class="fa-regular fa-magnifying-glass"></i>
</span>