diff options
| author | Michael <[email protected]> | 2017-04-10 18:44:29 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-10 18:44:33 -0400 |
| commit | 72feceb3690f6fc76fa7dd91002c814bf32565b8 (patch) | |
| tree | 6d9b798ddaf8e5184e906069f2c450db0bf73e9f /Project-Unite/Views/Shared/_Layout.cshtml | |
| parent | 147f266e68cf575daa3c29c51aba362d06544c71 (diff) | |
| download | project-unite-72feceb3690f6fc76fa7dd91002c814bf32565b8.tar.gz project-unite-72feceb3690f6fc76fa7dd91002c814bf32565b8.tar.bz2 project-unite-72feceb3690f6fc76fa7dd91002c814bf32565b8.zip | |
Fix massive security bug with display names
Diffstat (limited to 'Project-Unite/Views/Shared/_Layout.cshtml')
| -rw-r--r-- | Project-Unite/Views/Shared/_Layout.cshtml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Project-Unite/Views/Shared/_Layout.cshtml b/Project-Unite/Views/Shared/_Layout.cshtml index 5455942..48d7d37 100644 --- a/Project-Unite/Views/Shared/_Layout.cshtml +++ b/Project-Unite/Views/Shared/_Layout.cshtml @@ -11,6 +11,12 @@ <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + @if(ViewBag.PageDescription != null) + { + <meta name="description" content="@ViewBag.PageDescription" /> + } + <title>@ViewBag.Title • Project: Unite</title> @Styles.Render("~/Content/css") @Styles.Render("~/Content/bootstrap-theme.css") |
