diff --git a/frontend/src/pages/building-fabricator.tsx b/frontend/src/pages/building-fabricator.tsx index 9d0b35ca6..8c0848e80 100644 --- a/frontend/src/pages/building-fabricator.tsx +++ b/frontend/src/pages/building-fabricator.tsx @@ -19,6 +19,7 @@ import { Manifest, BuildingKindFactorySpec, parseManifestDocuments } from '@down import { ItemFragment } from '@downstream/core/src/gql/graphql'; import { saveAs } from 'file-saver'; import JSZip from 'jszip'; +import Head from 'next/head'; import { useCallback, useEffect, useMemo, useRef, useState } from 'react'; import styled from 'styled-components'; import YAML from 'yaml'; @@ -1539,6 +1540,9 @@ export default function ShellPage() { + + Downstream: Building Fabricator +
diff --git a/frontend/src/pages/docs/[[...slug]].tsx b/frontend/src/pages/docs/[[...slug]].tsx index 258daa0ca..2df536a0b 100644 --- a/frontend/src/pages/docs/[[...slug]].tsx +++ b/frontend/src/pages/docs/[[...slug]].tsx @@ -17,6 +17,7 @@ import { useConfig } from '@app/hooks/use-config'; import { GameStateProvider } from '@app/hooks/use-game-state'; import { SessionProvider } from '@app/hooks/use-session'; import { useRouter } from 'next/router'; +import Head from 'next/head'; const DOCS_CONTENT_DIR = '../docs'; @@ -219,10 +220,14 @@ export default function Page({ doc, tree }: InferGetStaticPropsType; } + const title = doc.title || doc.slug.slice(-1).find(() => true) || ''; return ( + + Downstream: {title} +