Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 5baa53d

Browse files
committed
add layout
1 parent a423be9 commit 5baa53d

1 file changed

Lines changed: 86 additions & 0 deletions

File tree

_layouts/default.html

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<!DOCTYPE html>
2+
3+
<html>
4+
<head>
5+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6+
<title>Develop.GitHub - <%= @title %></title>
7+
<script type="text/javascript" src="../js/jquery-1.2.6.pack.js"></script>
8+
<script type="text/javascript" src="../js/thickbox-compressed.js"></script>
9+
<script type="text/javascript" src="../js/jquery.corner.js"></script>
10+
11+
<link rel="stylesheet" href="../css/screen.css" type="text/css" media="screen, projection">
12+
<link rel="stylesheet" href="../css/print.css" type="text/css" media="print">
13+
<!--[if IE]>
14+
<link rel="stylesheet" href="../css/ie.css" type="text/css" media="screen, projection">
15+
<![endif]-->
16+
17+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8"/>
18+
<link rel="stylesheet" href="../css/thickbox.css" type="text/css" media="screen"/>
19+
</head>
20+
21+
<body>
22+
<div class="container">
23+
<div id="header">
24+
<div>
25+
<a href="/"><img src="../images/develop-github.png" alt="github learn logo" /></a>
26+
</div>
27+
28+
<div class="last">
29+
<div id="links">
30+
<a href="http://github.com">home</a>
31+
<a href="http://github.com/login">login</a>
32+
<a href="http://github.com/signup">signup!</a>
33+
</div>
34+
</div>
35+
</div>
36+
37+
<div class="last content">
38+
{% if page.plain == true %}
39+
{{ content }}
40+
{% else %}
41+
<div class="post">
42+
<h2><a href="{{ page.url }}">&#8594; {{ page.title }}</a></h2>
43+
<div class="date">{{ page.date | date_to_long_string }}</div>
44+
<div>
45+
{{ content }}
46+
</div>
47+
</div>
48+
{% endif %}
49+
</div>
50+
51+
<div id="footer">
52+
<div class="info">
53+
<div class="links">
54+
<a href="http://github.com/blog/148-github-shirts-now-available">T-Shirts</a> |
55+
<a href="http://github.com/blog">Blog</a> |
56+
<a href="http://support.github.com/">Support</a> |
57+
<a href="http://github.com/training">Git Training</a> |
58+
<a href="http://github.com/contact">Contact</a> |
59+
<a href="http://groups.google.com/group/github/">Google Group</a> |
60+
<a href="http://status.github.com">Status</a>
61+
</div>
62+
<div class="company">
63+
&copy; 2010 GitHub Inc. All rights reserved. | <a href="http://github.com/site/terms">Terms of Service</a> | <a href="http://github.com/site/privacy">Privacy Policy</a>
64+
</div>
65+
</div>
66+
<div class="fork">
67+
This website is <a href="http://github.com/develop/develop.github.com">open source</a>.
68+
Please help us by forking the project and adding to it.
69+
</div>
70+
</div>
71+
</div>
72+
73+
<script type="text/javascript">
74+
var _gaq = _gaq || [];
75+
_gaq.push(['_setAccount', 'UA-3769691-2']);
76+
_gaq.push(['_trackPageview']);
77+
(function() {
78+
var ga = document.createElement('script');
79+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
80+
ga.setAttribute('async', 'true');
81+
document.documentElement.firstChild.appendChild(ga);
82+
})();
83+
</script>
84+
85+
</body>
86+
</html>

0 commit comments

Comments
 (0)