feat: Add query to `title`
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
parent
77428d374a
commit
90207f98fa
|
|
@ -26,7 +26,7 @@ export default function Home({ data }: PageProps<HandlerData>) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Head>
|
<Head>
|
||||||
<title>NRSS</title>
|
<title>{data.query ? `Søk: ${data.query} - ` : ""}NRSS</title>
|
||||||
</Head>
|
</Head>
|
||||||
<div className="p-4 mx-auto max-w-screen-md bg-blue-400">
|
<div className="p-4 mx-auto max-w-screen-md bg-blue-400">
|
||||||
<div className="text-center">
|
<div className="text-center">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue