|
7 | 7 | <link rel="stylesheet" href="/assets/css/highlight.css" />
|
8 | 8 | <link rel="shortcut icon" href="/favicon.ico" />
|
9 | 9 | <meta name="viewport" content="width=device-width" />
|
10 |
| - <!--[if lt IE 7]><script src="//www.webplatform.org/assets/bower_components/ie7-js/lib/IE7.js"></script><![endif]--> |
11 |
| - <!--[if lt IE 8]><script src="//www.webplatform.org/assets/bower_components/ie7-js/lib/IE8.js"></script><![endif]--> |
12 |
| - <!--[if lt IE 9]><script src="//www.webplatform.org/assets/bower_components/ie7-js/lib/IE9.js"></script><![endif]--> |
13 |
| - <!--[if lt IE 9]><script src="//docs.webplatform.org/w/extensions/WebPlatformDocs/skin/html5shiv.js"></script><![endif]--> |
| 10 | + <!--[if lt IE 7]><script src="/bower_components/ie7-js/lib/IE7.js"></script><![endif]--> |
| 11 | + <!--[if lt IE 8]><script src="/bower_components/ie7-js/lib/IE8.js"></script><![endif]--> |
| 12 | + <!--[if lt IE 9]><script src="/bower_components/ie7-js/lib/IE9.js"></script><![endif]--> |
14 | 13 | <!--[if lt IE 8]><link rel="stylesheet" href="//www.webplatform.org/assets/css/ie7.css"><![endif]-->
|
15 | 14 | {{>metadata}}
|
16 |
| - |
| 15 | + <script src="/bower_components/jquery/dist/jquery.min.js"></script> |
| 16 | + <script src="/bower_components/vue/dist/vue.min.js"></script> |
17 | 17 | </head>
|
18 | 18 | <body class="mediawiki ltr sitedir-ltr skin-webplatform action-view">
|
| 19 | + {{#readiness_marker}}{{readiness}}{{/readiness_marker}} |
19 | 20 | <header id="mw-head" class="noprint">
|
20 | 21 | <div class="container">
|
21 | 22 | <div id="p-logo">
|
|
49 | 50 | <a id="top"></a>
|
50 | 51 | <div class="tool-area">
|
51 | 52 | <div id="hierarchy-menu">
|
52 |
| - <ol id="breadcrumb-info" class="breadcrumbs"> |
53 |
| - <li><a href="/">DOCS</a></li> |
54 |
| - </ol> |
| 53 | + {{>breadcrumb}} |
55 | 54 | </div>
|
56 | 55 | <div class="toolbar">
|
| 56 | + {{#if uri}} |
| 57 | + {{! If we do not have an uri front matter, we might }} |
| 58 | + {{! not want edit buttons. Notice that we gotta }} |
| 59 | + {{! make sure the content pages always has an uri }} |
| 60 | + {{! front-matter. }} |
57 | 61 | <div><a class="highlighted edit button" text="Edit" href="https://github.com/webplatform/docs/blob/master">Edit</a></div>
|
58 | 62 | <div class="dropdown"><a class="tools button">Tools</a>
|
59 | 63 | <ul>
|
60 |
| - <li><a href="?action=history" rel="archives">History</a></li> |
| 64 | + <li><a data-pivot-trigger="history" href="?action=history" rel="archives">History</a></li> |
61 | 65 | </ul>
|
62 | 66 | </div>
|
| 67 | + {{/if}} |
63 | 68 | </div>
|
64 | 69 | </div>
|
65 | 70 | <div id="page">
|
66 | 71 | <div id="page-content">
|
67 | 72 | <div id="main-content">
|
68 | 73 | <h1>{{title}}</h1>
|
| 74 | + <section class="contents-pivot" data-pivot="contents"> |
69 | 75 | {{{ contents }}}
|
70 | 76 | {{>attributions}}
|
| 77 | + </section> |
| 78 | + <section class="contents-pivot pivot-history" data-pivot="history" style="display:none" id="history"> |
| 79 | + |
| 80 | + </section> |
71 | 81 | </div>
|
72 | 82 | <div class="topics-nav">
|
73 | 83 | <ul>
|
|
99 | 109 | </ul -->
|
100 | 110 | </div>
|
101 | 111 | </footer>
|
102 |
| - <script src="/assets/js/dependencies.js" async defer></script> |
103 |
| - <script src="/assets/js/docs.js" async defer></script> |
| 112 | + <script src="/assets/js/docs.js"></script> |
104 | 113 | </body>
|
105 | 114 | </html>
|
0 commit comments