@using Humanizer @using OliverBooth.Common.Data.Mastodon @using OliverBooth.Common.Services @inject IMastodonService MastodonService @{ IMastodonStatus latestStatus = MastodonService.GetLatestStatus(); }
@Html.Raw(latestStatus.Content) @foreach (MediaAttachment attachment in latestStatus.MediaAttachments) { switch (attachment.Type) { case AttachmentType.Audio:

break; case AttachmentType.Video:

break; case AttachmentType.Image: case AttachmentType.GifV:

break; } }