Change favicon URL to be protocol-relative

This commit is contained in:
Thibaut 2015-05-05 08:09:01 -04:00
parent 8327bed737
commit 744d7caa8a
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@
<link rel="canonical" href="http://devdocs.io"> <link rel="canonical" href="http://devdocs.io">
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="DevDocs Search"> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="DevDocs Search">
<link rel="alternate" href="http://devdocs.io/feed" title="DevDocs" type="application/atom+xml"> <link rel="alternate" href="http://devdocs.io/feed" title="DevDocs" type="application/atom+xml">
<link rel="icon" type="image/x-icon" href="http://cdn.devdocs.io/favicon.ico"> <link rel="icon" type="image/x-icon" href="//cdn.devdocs.io/favicon.ico">
<link rel="fluid-icon" href="http://cdn.devdocs.io/images/fluid-icon.png" title="DevDocs"> <link rel="fluid-icon" href="http://cdn.devdocs.io/images/fluid-icon.png" title="DevDocs">
<link rel="apple-touch-icon" sizes="72x72" href="http://cdn.devdocs.io/images/apple-icon-72.png"> <link rel="apple-touch-icon" sizes="72x72" href="http://cdn.devdocs.io/images/apple-icon-72.png">
<link rel="apple-touch-icon" sizes="76x76" href="http://cdn.devdocs.io/images/apple-icon-76.png"> <link rel="apple-touch-icon" sizes="76x76" href="http://cdn.devdocs.io/images/apple-icon-76.png">

View file

@ -7,7 +7,7 @@
<meta name="format-detection" content="telephone=no"> <meta name="format-detection" content="telephone=no">
<meta property="og:image" content="http://cdn.devdocs.io/images/icon-128.png"> <meta property="og:image" content="http://cdn.devdocs.io/images/icon-128.png">
<title>DevDocs<%= ": #{@doc['name']} API Documentation" if doc_index_page? %></title> <title>DevDocs<%= ": #{@doc['name']} API Documentation" if doc_index_page? %></title>
<link rel="icon" type="image/x-icon" href="http://cdn.devdocs.io/favicon.ico"> <link rel="icon" type="image/x-icon" href="//cdn.devdocs.io/favicon.ico">
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs"> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">
<link rel="stylesheet" href="<%= main_stylesheet_path %>" data-alt="<%= alternate_stylesheet_path %>"> <link rel="stylesheet" href="<%= main_stylesheet_path %>" data-alt="<%= alternate_stylesheet_path %>">
<%= javascript_tag 'application', asset_host: false %><% unless App.production? %> <%= javascript_tag 'application', asset_host: false %><% unless App.production? %>