summaryrefslogtreecommitdiff
path: root/_layouts/default.html
blob: 258cdb9125874e2e4636f6a59a9c1ca9a38ed393 (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
96
97
98
99
100
101
102
103
104
105
106
107
---
sidebar_cats:
- setup
- repos
- collaborating
- mac
- windows
- linux
- other
---
<!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="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.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">
            <div class="main">
              <h1>{{ page.title }}</h1>

              <div class="wikistyle">
                {{ content }}
              </div>
            </div>

            <div class="sidebar">
              {% for cat in (page.sidebar_cats) %}
                <h3>{{ cat | capitalize }}</h3>
                  <dl>
                    {% for post in site.posts reversed %}{% if post.categories contains cat %}
                      <dt><a href="{{ post.url }}" id="{{ cat }}">{{ 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="#" class="support_toggle">Support</a> |
            <a href="http://github.com/training">Git Training</a> |
            <a href="mailto:support@github.com">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>
    <script type="text/javascript">
      Tender = {
        hideToggle: true,
        widgetToggles: $('.support_toggle')
      }
      var baseSslHost = (("https:" == document.location.protocol) ? "https://" : "http://");
      document.write(unescape("%3Cscript src='" + baseSslHost + "github.tenderapp.com/tender_widget.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    </body>
</html>