summaryrefslogtreecommitdiff
path: root/_layouts/default.html
blob: 71ba56d0ab9769dd998cc214fa14e1e6d34f4295 (plain)
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
83
84
85
86
87
88
89
90
91
92
93
94
95
---
sidebar_cats:
- setup
- repos
- collaborating
- mac
- windows
---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Help.GitHub</title>

    <link href="http://github.com/stylesheets/screen.css" media="screen" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="/css/style.css" type="text/css" media="screen" charset="utf-8"/>
    <link rel="stylesheet" href="/css/print.css" type="text/css" media="print">

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="/js/main.js"></script>
  </head>

  <body>
    {% if page.main_category %}
      <script type="text/javascript">var main_category = "{{ page.main_category }}"</script>
    {% else %}
      {% if page.categories %}
        <script type="text/javascript">var main_category = "{{ page.categories }}"</script>
      {% endif %}
    {% endif %}
    <div id="main">
      <div id="header" class="basic">

        <div class="site">
          <div class="logo">
            <a href="/"><img src="/images/help.github.png" alt="github learn logo" /></a>
          </div>
          <div class="actions">
            <a href="http://github.com">home</a>
            <a href="http://github.com/login">login</a>
            <a href="http://github.com/signup">signup!</a>
          </div>
        </div>
      </div>

      <div id="content" class="site">
        <div id="guides">
          <div class="guide wikistyle">
            <div class="main">
              <h1>{{ page.title }}</h1>

              {{ content }}
            </div>

            <div class="sidebar">
              {% for cat in (page.sidebar_cats) %}
                <h3 id="{{cat}}">{{ cat | capitalize }}</h3>
                <dl id="{{cat}}">
                  {% for post in site.posts reversed %}{% if post.categories contains cat %}
                    <dt><a href="{{ post.url }}">{{ post.title }}</a></dt>
                    <dd>{{ post.description }}</dd>
                  {% endif %}{% endfor %}
                </dl>
              {% endfor %}

            </div>
          </div>
        </div>
      </div>
      <div class="push"></div>
    </div>

    <div id="footer">
      <div class="site">

        <div class="info">
          <div class="links">
            <a href="http://github.com/blog/148-github-shirts-now-available">T-Shirts</a> |
            <a href="http://github.com/blog">Blog</a> |
            <a href="http://support.github.com/">Support</a> |
            <a href="http://github.com/training">Git Training</a> |
            <a href="http://github.com/contact">Contact</a> |
            <a href="http://groups.google.com/group/github/">Google Group</a> |
            <a href="http://github.wordpress.com">Status</a>
          </div>
          <div class="company">
            GitHub is <a href="http://logicalawesome.com/">Logical Awesome</a> &copy;2009 | <a href="http://github.com/site/terms">Terms of Service</a> | <a href="http://github.com/site/privacy">Privacy Policy</a>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>