@using System.Web @using LightTube.Contexts @model LightTube.Contexts.BaseContext @{ bool compatibility = false; if (Context.Request.Cookies.TryGetValue("compatibility", out string compatibilityString)) bool.TryParse(compatibilityString, out compatibility); bool minMode = false; if (Context.Request.Cookies.TryGetValue("minMode", out string minModeString)) bool.TryParse(minModeString, out minMode); } @if (ViewBag.Metadata is not null) { @foreach (KeyValuePair metaTag in ViewBag.Metadata) { if (metaTag.Key.StartsWith("og:")) { } else { } } } @ViewData["Title"] - lighttube @if ((ViewData["HideGuide"] ?? false).Equals(true)) { } @{ Context.Request.Cookies.TryGetValue("theme", out string theme); if (!new[] { "light", "dark" }.Contains(theme)) theme = "light"; } @if (Model.MobileLayout) { } else { }

About
How LightTube works
Source code API License
Running on LightTube v@(Utils.GetVersion())

@RenderBody()
@await RenderSectionAsync("Scripts", required: false)