Unified · Split
| @@ -5,6 +5,7 @@ · 4 unmodified lines | |||
| 5 | <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> | 5 | <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> |
| 6 | <% if doc_index_page? %><meta name="description" content="<%= @doc['name'] %> reference documentation with fast, fuzzy search, keyboard shortcuts, mobile version, offline access, and more."><% else %><meta name="robots" content="noindex"><% end %> | 6 | <% if doc_index_page? %><meta name="description" content="<%= @doc['name'] %> reference documentation with fast, fuzzy search, keyboard shortcuts, mobile version, offline access, and more."><% else %><meta name="robots" content="noindex"><% end %> |
| 7 | <meta name="format-detection" content="telephone=no"> | 7 | <meta name="format-detection" content="telephone=no"> |
| 8 | <meta property="og:image" content="http://maxcdn.devdocs.io/images/icon-128.png"> | ||
| 8 | <title>DevDocs<%= ": #{@doc['name']} API Documentation" if doc_index_page? %></title> | 9 | <title>DevDocs<%= ": #{@doc['name']} API Documentation" if doc_index_page? %></title> |
| 9 | <link rel="icon" type="image/x-icon" href="http://maxcdn.devdocs.io/favicon.ico"> | 10 | <link rel="icon" type="image/x-icon" href="http://maxcdn.devdocs.io/favicon.ico"> |
| 10 | <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs"> | 11 | <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs"> |
| @@ -13,6 +14,7 @@ · 2 unmodified lines | |||
| 13 | <%= javascript_tag 'debug' %><% end %> | 14 | <%= javascript_tag 'debug' %><% end %> |
| 14 | <script>app.DOC = <%= @doc.to_json %>;</script> | 15 | <script>app.DOC = <%= @doc.to_json %>;</script> |
| 15 | </head> | 16 | </head> |
| 16 | <body class="_booting"> | 17 | <body class="_booting _noscript"> |
| 18 | <noscript class="_fail">DevDocs requires JavaScript to run.</noscript> | ||
| 17 | <%= erb :app %></body> | 19 | <%= erb :app %></body> |
| 18 | </html> | 20 | </html> |