From f724203a93111b6a80966d7201cddbe5c390e6c3 Mon Sep 17 00:00:00 2001 From: Kieran Date: Mon, 22 May 2023 19:28:46 +0100 Subject: [PATCH] tweak tags --- VoidCat/Pages/Index.cshtml | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/VoidCat/Pages/Index.cshtml b/VoidCat/Pages/Index.cshtml index a6f2be0..a7422c0 100644 --- a/VoidCat/Pages/Index.cshtml +++ b/VoidCat/Pages/Index.cshtml @@ -24,32 +24,34 @@ void.cat - @Model.Meta.Name - - - - + + + + var mime = Model.Meta.MimeType; if (!string.IsNullOrEmpty(mime)) { if (mime.StartsWith("image/")) { - - - + + + } else if (mime.StartsWith("video/")) { - - - - + + + + + + } else if (mime.StartsWith("audio/")) { - - - + + + } } }