The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_Layout.cshtml 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. @using IdentityServer4.Extensions
  2. @{
  3. string name = null;
  4. if (!true.Equals(ViewData["signed-out"]))
  5. {
  6. name = Context.User?.GetDisplayName();
  7. }
  8. }
  9. <!DOCTYPE html>
  10. <html>
  11. <head>
  12. <!-- Character Set -->
  13. <meta charset="UTF-8">
  14. <!-- Compatability -->
  15. <meta http-equiv="x-ua-compatible" content="ie=edge" />
  16. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  17. <!-- Website Info -->
  18. <meta name="description" content="@ViewBag.Description" />
  19. <meta name="author" content="@Config.Author" />
  20. <!-- Robots -->
  21. <meta name="robots" content="index,follow,noodp"><!-- All Search Engines -->
  22. <!-- Site Verification Tags -->
  23. <meta name="google-site-verification" content="X54N1YTsjgOc7hivpZK7RRKyvhGwaTI4BoFfxqOLlbc" />
  24. <meta name='yandex-verification' content='6f209fa6f1b4114c' />
  25. <meta name="wot-verification" content="e858b91d99b767ad70db" />
  26. <!-- Main Page Title -->
  27. <title>
  28. @if (string.IsNullOrEmpty(ViewBag.Title))
  29. {
  30. <text>@Config.Title</text>
  31. }
  32. else
  33. {
  34. <text>@ViewBag.Title | @Config.Title</text>
  35. }
  36. </title>
  37. <!-- Favicon -->
  38. <link href="~/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  39. <link href="~/images/favicon.ico" rel="apple-touch-icon-precomposed" />
  40. <bundle src="css/common.min.css" append-version="true"></bundle>
  41. </head>
  42. <body data-twttr-rendered="true">
  43. <div id="wrap">
  44. @RenderBody()
  45. </div>
  46. @await Html.PartialAsync("_Footer")
  47. </body>
  48. </html>