You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by mp...@apache.org on 2016/03/17 11:43:33 UTC

incubator-kudu git commit: Add to Atom feed XML

Repository: incubator-kudu
Updated Branches:
  refs/heads/gh-pages 493571d0f -> 32ce8d91d


Add <link> to Atom feed XML

This adds a <link> to the page header so that browsers will automatically
notice the RSS feed for our blog.

Verified that when I visit the blog, my RSS reader Chrome extension lights up
and can view the blog posts using RSS.

Change-Id: I8cc900dc12b9c14a3ebb8e932278861d823ba713
Reviewed-on: http://gerrit.cloudera.org:8080/2550
Reviewed-by: Mike Percy <mp...@apache.org>
Tested-by: Mike Percy <mp...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/32ce8d91
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/32ce8d91
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/32ce8d91

Branch: refs/heads/gh-pages
Commit: 32ce8d91deab8f5a786bb823b1fc1e0ff584c2cf
Parents: 493571d
Author: Todd Lipcon <to...@cloudera.com>
Authored: Mon Mar 14 19:12:16 2016 -0700
Committer: Mike Percy <mp...@apache.org>
Committed: Thu Mar 17 10:42:51 2016 +0000

----------------------------------------------------------------------
 _includes/top_common.html | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/32ce8d91/_includes/top_common.html
----------------------------------------------------------------------
diff --git a/_includes/top_common.html b/_includes/top_common.html
index 470f726..769e9d4 100644
--- a/_includes/top_common.html
+++ b/_includes/top_common.html
@@ -19,6 +19,12 @@
     <link rel="shortcut icon" href="{{site.github.url}}/img/logo-favicon.ico" />
     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.min.css" />
 
+    {% if page.active_nav == 'blog' %}
+    <link rel="alternate" type="application/atom+xml"
+      title="RSS Feed for Apache Kudu blog"
+      href="/feed.xml" />
+    {% endif %}
+
     <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
     <!--[if lt IE 9]>
         <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>