devdocs/views/other.erb

21 lines
1.4 KiB
Text
Raw Normal View History

2013-10-24 20:25:52 +02:00
<!DOCTYPE html>
<html lang="en">
2013-10-24 20:25:52 +02:00
<head>
<meta charset="utf-8">
2015-02-14 17:30:40 +01:00
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
2017-08-08 00:33:17 +02:00
<% if doc_index_page? %><meta name="description" content="<%= @doc['full_name'] %> API documentation with instant search, offline mode, keyboard navigation, mobile version, and more."><% else %><meta name="robots" content="noindex"><% end %>
<meta name="format-detection" content="telephone=no">
<meta property="og:image" content="<%= App.cdn_origin %>/images/icon-128.png">
2017-02-05 23:00:16 +01:00
<title>DevDocs<%= " &mdash; #{@doc['full_name']} documentation (fast, offline)" if doc_index_page? %></title>
<link rel="canonical" href="<%= canonical_origin %><%= request.path %>">
<link rel="icon" type="image/x-icon" href="<%= App.cdn_origin %>/favicon.ico">
2013-10-24 20:25:52 +02:00
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">
2015-02-08 23:50:03 +01:00
<link rel="stylesheet" href="<%= main_stylesheet_path %>" data-alt="<%= alternate_stylesheet_path %>">
2013-10-24 20:25:52 +02:00
<%= javascript_tag 'application', asset_host: false %><% unless App.production? %>
<%= javascript_tag 'debug' %><% end %>
</head>
<body class="_booting _noscript<%= " #{app_layout}" if app_layout %>" data-doc="<%= CGI::escape_html @doc.to_json %>">
<noscript class="_fail">DevDocs requires JavaScript to run.</noscript>
2013-10-24 20:25:52 +02:00
<%= erb :app %></body>
</html>