From 0c55aabf16433a10762f4bac546a0ba18fd98a71 Mon Sep 17 00:00:00 2001
From: Fabian Arrotin <arrfab@centos.org>
Date: Thu, 10 Jan 2019 08:06:54 +0000
Subject: [PATCH] Enforcing tls to avoid mixed content error in browser with hsts for rss feed

---
 content/index.erb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/content/index.erb b/content/index.erb
index c91cf56..a252a32 100644
--- a/content/index.erb
+++ b/content/index.erb
@@ -6,7 +6,9 @@
 <script> 
   jQuery(function($) {
     $("#rss-feeds").rss("https://www.centos.org/assets/planet.rss",{
-    	limit: 5,                                                                                   entryTemplate: '<li><a href="{url}">{date} : {title}</a><br/>{shortBodyPlain}</li>'    },
+    	limit: 5,
+	ssl: true,
+	entryTemplate: '<li><a href="{url}">{date} : {title}</a><br/>{shortBodyPlain}</li>'    },
  )
  })
  </script>

--
Gitblit v1.8.0