|
1 |
| -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
2 |
| - "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
3 |
| -<html xmlns="http://www.w3.org/1999/xhtml"> |
| 1 | +<!DOCTYPE html> |
| 2 | +<html> |
4 | 3 | <head>
|
5 |
| - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
6 | 4 | {% if page.title != null %}
|
7 | 5 | <title>{{ page.title }}</title>
|
8 | 6 | {% else %}
|
9 | 7 | <title>Ruby Programming Language</title>
|
10 | 8 | {% endif %}
|
11 |
| - <link rel="stylesheet" type="text/css" href="/stylesheets/low.css" /> |
12 |
| - <link rel="stylesheet" type="text/css" href="/stylesheets/screen.css" media="screen" /> |
13 |
| - <link rel="stylesheet" type="text/css" href="/stylesheets/print.css" media="print" /> |
14 |
| - <link title="Low vision" rel="alternate stylesheet" type="text/css" href="/stylesheets/low_vision_screen.css" media="screen" /> |
15 | 9 |
|
16 |
| - <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> |
| 10 | + <meta charset="utf-8"> |
| 11 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 12 | + <meta name="description" content=""> |
| 13 | + |
| 14 | + <link rel="stylesheet" type="text/css" href="/stylesheets/normalize.css"> |
| 15 | + <link rel="stylesheet" type="text/css" href="/stylesheets/main.css"> |
| 16 | + <link rel="stylesheet" type="text/css" href="/stylesheets/pygments.css"> |
| 17 | + <link rel="stylesheet" type="text/css" href="/stylesheets/mobile.css"> |
| 18 | + <link rel="stylesheet" type="text/css" href="/stylesheets/print.css"> |
| 19 | + <link href='http://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic&subset=latin,cyrillic,greek,vietnamese' rel='stylesheet' type='text/css'> |
| 20 | + |
| 21 | + <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> |
| 22 | + |
17 | 23 | <script type="text/javascript" src="/javascripts/jquery.min.js"></script>
|
18 | 24 | <script type="text/javascript" src="/javascripts/page.js"></script>
|
19 | 25 | {% if page.javascript != null %}
|
|
26 | 32 | {% capture homepage_url %}/{{ page.lang }}/{% endcapture %}
|
27 | 33 |
|
28 | 34 | <body{% if page.url == homepage_url %} id="home-page-layout"{% endif %}>
|
29 |
| - <div id="page"> |
30 |
| - <div id="header"> |
31 |
| - <div id="logo"> |
32 |
| - <a href="/{{ page.lang }}/"><img src="/images/logo.gif" width="331" height="119" alt="{{ site.locales.slogan[page.lang] }}" title=""></a> |
33 |
| - </div> |
| 35 | + <div id="header"> |
| 36 | + <div id="header_content" class="container"> |
| 37 | + <a href="/{{ page.lang }}/"> |
| 38 | + <h1>{{ site.locales.ruby[page.lang] }}</h1> |
| 39 | + <h2>{{ site.locales.slogan[page.lang] }}</h2> |
| 40 | + </a> |
| 41 | + |
34 | 42 | <div class="site-links">
|
| 43 | + <a href="/{{ page.lang }}/" class="home">Home</a> |
35 | 44 | {% include sitelinks.html %}
|
| 45 | + <a href="#" class="menu selected">Menu</a> |
| 46 | + </div> |
| 47 | + |
| 48 | + <div id="search-box"> |
| 49 | + {% include search.html %} |
36 | 50 | </div>
|
37 | 51 | </div>
|
38 |
| - <hr class="hidden-modern" /> |
| 52 | + </div> |
39 | 53 |
|
40 |
| - <div id="main-wrapper"> |
| 54 | + <div id="page"> |
| 55 | + {% include intro.html %} |
| 56 | + |
| 57 | + <div id="main-wrapper" class="container"> |
41 | 58 | <div id="main">
|
42 | 59 | {{ content }}
|
43 |
| - |
44 |
| - <div class="foot"> |
45 |
| - <div class="site-links"> |
46 |
| - {% include sitelinks.html %} |
47 |
| - </div> |
48 |
| - </div> |
49 | 60 | </div>
|
50 | 61 | </div>
|
| 62 | + </div> |
51 | 63 |
|
52 |
| - <div id="search-box"> |
53 |
| - {% include search.html %} |
54 |
| - </div> |
| 64 | + <div class="container"> |
55 | 65 | <div id="footer">
|
56 |
| - <div class="fine-print"> |
57 |
| - {% include footer.html %} |
| 66 | + <div class="site-links"> |
| 67 | + {% include sitelinks.html %} |
58 | 68 | </div>
|
| 69 | + |
| 70 | + {% include footer.html %} |
59 | 71 | </div>
|
60 | 72 | </div>
|
61 | 73 |
|
|
0 commit comments