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.

Simple.cshtml 875B

12345678910111213141516171819202122232425262728293031
  1. @model Teknik.Areas.Paste.ViewModels.PasteViewModel
  2. @{
  3. Layout = "";
  4. string syntax = string.Empty;
  5. if (Model.Syntax != "auto-detect")
  6. {
  7. syntax = Model.Syntax;
  8. }
  9. }
  10. <!DOCTYPE html>
  11. <html>
  12. <head>
  13. <meta charset="utf-8" />
  14. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  15. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  16. <meta name="description" content="@Model.Config.Description" />
  17. <meta name="author" content="@Model.Config.Author" />
  18. <title>@ViewBag.Title</title>
  19. <link rel="shortcut icon" href="/Images/favicon.ico" type="image/x-icon" />
  20. @Styles.Render("~/Content/paste")
  21. @Scripts.Render("~/bundles/common")
  22. </head>
  23. <body data-twttr-rendered="true">
  24. @Html.Raw(Model.Content)
  25. <script>
  26. function pageloadStopTimer() { }
  27. </script>
  28. </body>
  29. </html>