From 2b0b78f8e04803f11460f145255250df1d5150a2 Mon Sep 17 00:00:00 2001 From: Tessa Kelly Date: Wed, 30 Mar 2022 11:24:26 -0700 Subject: [PATCH] Customize the page titles --- styleguide-app/Main.elm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/styleguide-app/Main.elm b/styleguide-app/Main.elm index 9ff6e282..035942fd 100644 --- a/styleguide-app/Main.elm +++ b/styleguide-app/Main.elm @@ -185,7 +185,7 @@ view model = Routes.Doodad doodad -> case findExampleByName doodad of Just example -> - { title = "Style Guide" + { title = example.name ++ " in the NoRedInk Style Guide" , body = viewExample model example |> Html.map (UpdateModuleStates example.name) @@ -193,17 +193,17 @@ view model = } Nothing -> - { title = "Style Guide" + { title = "Not found in the NoRedInk Style Guide" , body = toBody notFound } Routes.Category category -> - { title = "Style Guide" + { title = Category.forDisplay category ++ " Category in the NoRedInk Style Guide" , body = toBody (viewCategory model category) } Routes.All -> - { title = "Style Guide" + { title = "NoRedInk Style Guide" , body = toBody (viewAll model) }