mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
23 lines
1.3 KiB
Text
23 lines
1.3 KiB
Text
<!DOCTYPE html>
|
|
<html lang="en" class="_booting">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
|
|
<% if doc_index_page? %><meta name="description" content="<%= @doc['name'] %> <%= @doc['release'] %> API documentation with instant search, offline support, keyboard shortcuts, mobile version, and more."><% else %><meta name="robots" content="noindex"><% end %>
|
|
<meta name="format-detection" content="telephone=no">
|
|
<meta name="theme-color" content="#eee">
|
|
<meta property="og:image" content="/images/icon-320.png">
|
|
<title>DevDocs<%= " — #{@doc['full_name']} documentation" if doc_index_page? %></title>
|
|
<link rel="canonical" href="<%= canonical_origin %><%= request.path %>">
|
|
<link rel="manifest" href="/manifest.json">
|
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
|
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">
|
|
<%= stylesheet_tag 'application' %>
|
|
</head>
|
|
<body data-doc="<%= CGI::escape_html @doc.to_json %>">
|
|
<noscript class="_fail">DevDocs requires JavaScript to run.</noscript>
|
|
<%= erb :app -%>
|
|
<%= javascript_tag 'application' %><% unless App.production? %>
|
|
<%= javascript_tag 'debug' %><% end %>
|
|
</body>
|
|
</html>
|