mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Use https urls for RSS feeds, opengraph icon and canonical urls
This commit is contained in:
parent
d8900d8156
commit
112062a7bc
5 changed files with 13 additions and 13 deletions
|
@ -4,7 +4,7 @@ lang: en
|
||||||
---
|
---
|
||||||
{% if page.canonical != nil %}
|
{% if page.canonical != nil %}
|
||||||
<script>window.location.href='{{ page.canonical }}';</script>
|
<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 %}
|
{% endif %}
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts">
|
<link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts">
|
||||||
|
|
|
@ -16,7 +16,7 @@ menu:
|
||||||
<html lang="{{ page.lang }}">
|
<html lang="{{ page.lang }}">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
<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">
|
<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>
|
<title>{% capture title %}{% translate title %}{% endcapture %}{% if title != '' %}{{ title }}{% else %}{{ page.title }}{% endif %}</title>
|
||||||
{% lesscss main.less %}
|
{% lesscss main.less %}
|
||||||
|
|
|
@ -4,16 +4,16 @@
|
||||||
<rss version="2.0">
|
<rss version="2.0">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Bitcoin network status and alerts</title>
|
<title>Bitcoin network status and alerts</title>
|
||||||
<link>http://bitcoin.org/en/alerts</link>
|
<link>https://bitcoin.org/en/alerts</link>
|
||||||
<description>This RSS feed allows to follow events and alerts surrounding the Bitcoin network and software.</description>
|
<description>This RSS feed allows to follow events and alerts surrounding the Bitcoin network and software.</description>
|
||||||
<image>
|
<image>
|
||||||
<url>http://bitcoin.org/img/logo_rss.png</url>
|
<url>https://bitcoin.org/img/logo_rss.png</url>
|
||||||
<link>http://bitcoin.org/en/alerts</link>
|
<link>https://bitcoin.org/en/alerts</link>
|
||||||
</image>
|
</image>
|
||||||
{% filter_for p in site.pages reversed sort_by:date category:alert %}
|
{% filter_for p in site.pages reversed sort_by:date category:alert %}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ p.title }}</title>
|
<title>{{ p.title }}</title>
|
||||||
<link>http://bitcoin.org{{ p.url | replace:'.html','' }}</link>
|
<link>https://bitcoin.org{{ p.url | replace:'.html','' }}</link>
|
||||||
<pubDate>{{ p.date | date: "%a, %d %b %Y" }}</pubDate>
|
<pubDate>{{ p.date | date: "%a, %d %b %Y" }}</pubDate>
|
||||||
</item>
|
</item>
|
||||||
{% endfilter_for %}
|
{% endfilter_for %}
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
<rss version="2.0">
|
<rss version="2.0">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Bitcoin conferences and events</title>
|
<title>Bitcoin conferences and events</title>
|
||||||
<link>http://bitcoin.org/en/events</link>
|
<link>https://bitcoin.org/en/events</link>
|
||||||
<description>This RSS feed allows to follow Bitcoin events and conferences.</description>
|
<description>This RSS feed allows to follow Bitcoin events and conferences.</description>
|
||||||
<image>
|
<image>
|
||||||
<url>http://bitcoin.org/img/logo_rss.png</url>
|
<url>https://bitcoin.org/img/logo_rss.png</url>
|
||||||
<link>http://bitcoin.org/en/events</link>
|
<link>https://bitcoin.org/en/events</link>
|
||||||
</image>
|
</image>
|
||||||
{% filter_for p in site.pages sort_by:date category:event %}
|
{% filter_for p in site.pages sort_by:date category:event %}
|
||||||
<item>
|
<item>
|
||||||
|
|
|
@ -4,16 +4,16 @@
|
||||||
<rss version="2.0">
|
<rss version="2.0">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Bitcoin-Qt releases</title>
|
<title>Bitcoin-Qt releases</title>
|
||||||
<link>http://bitcoin.org/en/version-history</link>
|
<link>https://bitcoin.org/en/version-history</link>
|
||||||
<description>This RSS feed allows to follow Bitcoin-Qt new releases.</description>
|
<description>This RSS feed allows to follow Bitcoin-Qt new releases.</description>
|
||||||
<image>
|
<image>
|
||||||
<url>http://bitcoin.org/img/logo_rss.png</url>
|
<url>https://bitcoin.org/img/logo_rss.png</url>
|
||||||
<link>http://bitcoin.org/en/version-history</link>
|
<link>https://bitcoin.org/en/version-history</link>
|
||||||
</image>
|
</image>
|
||||||
{% filter_for p in site.pages reversed sort_by:date category:release %}
|
{% filter_for p in site.pages reversed sort_by:date category:release %}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ p.title }}</title>
|
<title>{{ p.title }}</title>
|
||||||
<link>http://bitcoin.org{{ p.url | replace:'.html','' }}</link>
|
<link>https://bitcoin.org{{ p.url | replace:'.html','' }}</link>
|
||||||
<pubDate>{{ p.date | date: "%a, %d %b %Y" }}</pubDate>
|
<pubDate>{{ p.date | date: "%a, %d %b %Y" }}</pubDate>
|
||||||
</item>
|
</item>
|
||||||
{% endfilter_for %}
|
{% endfilter_for %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue