Skip to content

Commit 6c72876

Browse files
committed
Add links to RSS feed
Follow up to graphql#40
1 parent f45579d commit 6c72876

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

site/_core/BlogSidebar.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ var BlogSidebar = React.createClass({
1616
.sort((a, b) => a.date < b.date);
1717
return (
1818
<div className="nav-docs">
19+
<div className="nav-docs-section">
20+
<h3>Subscribe</h3>
21+
<a rel="home" type="application/rss+xml" href="/blog/rss.xml">RSS</a>
22+
</div>
1923
<div className="nav-docs-section">
2024
<h3>Recent Posts</h3>
2125
<ul>

site/_core/Site.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var Site = React.createClass({
2828
<link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css" />
2929
<link rel="shortcut icon" href={'/img/favicon.png'} />
3030
<link rel="stylesheet" href={'/css/graphql.css'} />
31+
<link rel="home" type="application/rss+xml" href="/blog/rss.xml" title="GraphQL Team Blog" />
3132

3233
<script type="text/javascript" src="//use.typekit.net/vqa1hcx.js"></script>
3334
<script type="text/javascript">{'try{Typekit.load();}catch(e){}'}</script>

0 commit comments

Comments
 (0)