mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Add noscript and og:image tags to other.erb
This commit is contained in:
parent
65a3db7be5
commit
de71751bad
1 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
<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'] %> reference documentation with fast, fuzzy search, keyboard shortcuts, mobile version, offline access, and more."><% else %><meta name="robots" content="noindex"><% end %>
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
<meta property="og:image" content="http://maxcdn.devdocs.io/images/icon-128.png">
|
||||
<title>DevDocs<%= ": #{@doc['name']} API Documentation" if doc_index_page? %></title>
|
||||
<link rel="icon" type="image/x-icon" href="http://maxcdn.devdocs.io/favicon.ico">
|
||||
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">
|
||||
|
@ -13,6 +14,7 @@
|
|||
<%= javascript_tag 'debug' %><% end %>
|
||||
<script>app.DOC = <%= @doc.to_json %>;</script>
|
||||
</head>
|
||||
<body class="_booting">
|
||||
<body class="_booting _noscript">
|
||||
<noscript class="_fail">DevDocs requires JavaScript to run.</noscript>
|
||||
<%= erb :app %></body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue