Merge branch 'main' into digest-refactor

This commit is contained in:
Slendy 2024-02-29 21:57:35 -06:00
commit b24037d0e1
No known key found for this signature in database
GPG key ID: 7288D68361B91428
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@
Model.ShowTitleInPage = false;
Model.Title = HttpUtility.HtmlDecode(Model.Slot?.Name ?? "");
Model.Description = HttpUtility.HtmlDecode(Model.Slot?.Description ?? "");
if (Model.CanViewSlot) Model.Description = HttpUtility.HtmlDecode(Model.Slot?.Description ?? "");
bool isMobile = Request.IsMobile();
string language = Model.GetLanguage();

View file

@ -13,7 +13,7 @@
Model.ShowTitleInPage = false;
Model.Title = Model.Translate(ProfileStrings.Title, Model.ProfileUser!.Username);
Model.Description = Model.ProfileUser!.Biography;
if (Model.CanViewProfile) Model.Description = Model.ProfileUser!.Biography;
bool isMobile = Request.IsMobile();
string language = Model.GetLanguage();