diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-01-05 23:08:17 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-01-05 23:08:17 -0500 |
commit | 372eb722334b9d0cc463be6fc418081a65d04717 (patch) | |
tree | e40312028b178e6194c0d34562b8e4e93c870069 /src/SMAPI.Web/Views/Shared | |
parent | f976b5c0f095a881fc20f6ce5dcf5a50ebb2b5da (diff) | |
download | SMAPI-372eb722334b9d0cc463be6fc418081a65d04717.tar.gz SMAPI-372eb722334b9d0cc463be6fc418081a65d04717.tar.bz2 SMAPI-372eb722334b9d0cc463be6fc418081a65d04717.zip |
streamline front page design
Diffstat (limited to 'src/SMAPI.Web/Views/Shared')
-rw-r--r-- | src/SMAPI.Web/Views/Shared/_Layout.cshtml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/SMAPI.Web/Views/Shared/_Layout.cshtml b/src/SMAPI.Web/Views/Shared/_Layout.cshtml index 17f1f673..2d06ceb1 100644 --- a/src/SMAPI.Web/Views/Shared/_Layout.cshtml +++ b/src/SMAPI.Web/Views/Shared/_Layout.cshtml @@ -29,12 +29,15 @@ </div> <div id="content-column"> <div id="content"> - <h1>@(ViewData["ViewTitle"] ?? ViewData["Title"])</h1> + @if (ViewData["ViewTitle"] != string.Empty) + { + <h1>@(ViewData["ViewTitle"] ?? ViewData["Title"])</h1> + } @RenderBody() </div> <div id="footer"> <div id="license"> - Hi! You can <a href="https://github.com/pathoschild/SMAPI" title="view source">view the source code</a> or <a href="https://github.com/pathoschild/SMAPI/issues" title="report issue">report a bug or suggestion</a>. + Hi! See the <a href="@Url.PlainAction("Privacy", "Index")">privacy page</a>, <a href="https://github.com/pathoschild/SMAPI" title="view source">SMAPI's source code</a>, or <a href="https://smapi.io/community" title="community pages">ask questions</a>. </div> </div> </div> |