ThreadCount Community edition
Uniform stock management for healthcare linen rooms: the coordinator app, the phone counter and the staff app, for your own server. Built from 49da3a4 on 2026-09-13. Licensed under the Functional Source License (FSL-1.1-ALv2).
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
|
||||
/* A layout for one metadata block.
|
||||
*
|
||||
* app/reset/page.tsx is a client component — it reads the token out of the query string — and a
|
||||
* client component cannot export metadata, so the page was inheriting the root layout's homepage
|
||||
* title and its canonical. That left a password-reset screen calling itself "ThreadCount — Uniform
|
||||
* management for hospitals, aged care and clinics" in the tab and pointing search engines at the homepage as
|
||||
* its canonical. This is the smallest place to say otherwise, and noindex belongs here anyway: the
|
||||
* page only works with a one-time token from an email.
|
||||
*/
|
||||
export const metadata: Metadata = {
|
||||
title: "Reset your password",
|
||||
alternates: { canonical: "/reset" },
|
||||
robots: { index: false, follow: false },
|
||||
};
|
||||
|
||||
export default function ResetLayout({ children }: { children: React.ReactNode }) {
|
||||
return children;
|
||||
}
|
||||
Reference in New Issue
Block a user