Skip to content

Commit 993b4cc

Browse files
authored
Merge pull request #1173 from swiftlang/add-rss-autodiscovery
Include the feed autodiscovery meta tag on every page
2 parents b968ec9 + 0984cb4 commit 993b4cc

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

_layouts/base.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png" />
2626
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png" />
2727
<link rel="mask-icon" href="/assets/images/icon-swift.svg" color="#F05339" />
28-
{% if page.atom %}
2928
<link rel="alternate" type="application/atom+xml" title="Swift.org (Atom Feed)" href="/atom.xml" />
30-
{% endif %}
3129

3230
{% if page.url %}
3331
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />

_layouts/new-layouts/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,14 @@
111111
href="/assets/images/icon-swift.svg"
112112
color="#F05339"
113113
/>
114-
{% if page.atom %}
115114
<link
116115
rel="alternate"
117116
type="application/atom+xml"
118117
title="Swift.org (Atom Feed)"
119118
href="/atom.xml"
120119
/>
121-
{% endif %} {% if page.url %}
120+
121+
{% if page.url %}
122122
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
123123
{% endif %}
124124

index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
layout: new-layouts/base
33
title: Swift Programming Language
4-
atom: true
54
---
65

76
<div class="animation-container">

0 commit comments

Comments
 (0)