forked from vaishaksuresh/webdevchecklist.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.cshtml
More file actions
82 lines (67 loc) · 3.07 KB
/
index.cshtml
File metadata and controls
82 lines (67 loc) · 3.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
@{
//Response.Cache.SetValidUntilExpires(true);
//Response.Cache.SetExpires(DateTime.UtcNow.AddDays(1));
//Response.Cache.SetCacheability(HttpCacheability.Public);
//string file = Server.MapPath(Request.CurrentExecutionFilePath);
//string css = Server.MapPath("~/content/all.min.css");
//string js = Server.MapPath("~/scripts/script.min.js");
//string data = Server.MapPath("~/app_data/items.xml");
//Response.Cache.SetLastModified(File.GetLastWriteTimeUtc(file));
//Response.AddFileDependencies(new[] { file, css, js, data });
string DataName = DataProvider.PageName(Request);
string Subtitle = DataProvider.Subtitle(Request);
string Section = DataName.Replace(".", string.Empty).ToLowerInvariant();
}
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>Web Developer Checklist</title>
<meta charset="utf-8" />
<meta name="keywords" content="checklist, best practices, web development, performance, usability, mobile, website" />
<meta name="description" content="The ultimate checklist for all serious web developers building modern websites" />
<meta name="author" content="Sayed Hashimi @@sayedihashimi, Mads Kristensen @@mkristensen" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" />
<link rel="stylesheet" href="@Fingerprint.Tag("/content/all.min.css")" />
@if (DataName != "Web")
{
<link rel="stylesheet" href="@Fingerprint.Tag("/content/themes/" + Section + ".css")" />
}
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<script src="/Scripts/modernizr-2.6.2.js"></script>
</head>
<body class="@Section">
<header itemscope itemtype="http://schema.org/WebApplication">
<h1 itemprop="name">@DataName Developer Checklist</h1>
@if (Subtitle.Length > 1)
{
<h2>@Subtitle</h2>
}
<a href="/">Back to main checklist</a>
</header>
<aside role="complementary">
<a href="https://github.com/ligershark/webdevchecklist.com">
<span class="ghFork"></span>
</a>
</aside>
<div id="main" role="main">
@RenderPage("~/views/_data.cshtml", null)
</div>
<footer>
<a href="#" id="clearall">Clear all</a>
<progress value="1" max="100">
<span id="fallback"> </span>
</progress>
</footer>
<script src="@Fingerprint.Tag("/scripts/script.min.js")" async="async"></script>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37479788-1']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>