Use https urls for RSS feeds, opengraph icon and canonical urls

This commit is contained in:
Saivann 2014-02-05 20:16:54 -05:00
parent d8900d8156
commit 112062a7bc
5 changed files with 13 additions and 13 deletions

View file

@ -4,7 +4,7 @@ lang: en
---
{% if page.canonical != nil %}
<script>window.location.href='{{ page.canonical }}';</script>
<link rel="canonical" href="http://bitcoin.org{{ page.canonical }}"/>
<link rel="canonical" href="https://bitcoin.org{{ page.canonical }}"/>
{% endif %}
<link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts">

View file

@ -16,7 +16,7 @@ menu:
<html lang="{{ page.lang }}">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta property="og:image" content="http://bitcoin.org/img/opengraph.png" />
<meta property="og:image" content="https://bitcoin.org/img/opengraph.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>{% capture title %}{% translate title %}{% endcapture %}{% if title != '' %}{{ title }}{% else %}{{ page.title }}{% endif %}</title>
{% lesscss main.less %}