diff options
Diffstat (limited to 'src/SMAPI.Web/Views/Shared/_Layout.cshtml')
-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> |