From 9a64f5b08518748abe4e29569562adfef009a09c Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sun, 20 Nov 2022 20:48:22 +0100 Subject: [PATCH] Add proper breadcrumbs --- zotan.pw-web/Pages/Shared/_Layout.cshtml | 23 +++++++++++++++++++++-- zotan.pw-web/Pages/blog/BlogPost.cshtml | 5 +++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/zotan.pw-web/Pages/Shared/_Layout.cshtml b/zotan.pw-web/Pages/Shared/_Layout.cshtml index e8ec981..dab86b1 100644 --- a/zotan.pw-web/Pages/Shared/_Layout.cshtml +++ b/zotan.pw-web/Pages/Shared/_Layout.cshtml @@ -6,7 +6,12 @@ - zotan.pw >> @ViewData["title"] + @if (ViewData.ContainsKey("subtitle")) { + zotan.pw >> @ViewData["title"] >> @ViewData["subtitle"] + } + else { + zotan.pw >> @ViewData["title"] + } @@ -14,7 +19,21 @@