Support HTTPS links

This commit is contained in:
Alex Bilbie 2016-04-10 13:23:33 +01:00
parent 89e733d903
commit 6136bd6861

View File

@ -15,14 +15,14 @@
{% if site.data.images.favicon %} {% if site.data.images.favicon %}
<link rel="icon" type="image/x-icon" href="{{ site.data.images.favicon }}" /> <link rel="icon" type="image/x-icon" href="{{ site.data.images.favicon }}" />
{% else %} {% else %}
<link rel="icon" type="image/x-icon" href="http://theme.thephpleague.com/img/favicon.ico" /> <link rel="icon" type="image/x-icon" href="//theme.thephpleague.com/img/favicon.ico" />
{% endif %} {% endif %}
{% if site.data.images.apple_touch %} {% if site.data.images.apple_touch %}
<link rel="apple-touch-icon-precomposed" href="{{ site.data.images.apple_touch }}"> <link rel="apple-touch-icon-precomposed" href="{{ site.data.images.apple_touch }}">
{% else %} {% else %}
<link rel="apple-touch-icon-precomposed" href="http://theme.thephpleague.com/img/apple-touch-icon-precomposed.png"> <link rel="apple-touch-icon-precomposed" href="//theme.thephpleague.com/img/apple-touch-icon-precomposed.png">
{% endif %} {% endif %}
<link rel="stylesheet" href="http://theme.thephpleague.com/css/all.css"> <link rel="stylesheet" href="//theme.thephpleague.com/css/all.css">
</head> </head>
<body> <body>
@ -96,4 +96,4 @@
{% endif %} {% endif %}
</body> </body>
</html> </html>