Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Long <jlong@github.com>2018-01-16 00:07:37 +0300
committerJason Long <jlong@github.com>2018-01-16 00:14:56 +0300
commit8442ef7dfe6d4fcb172b01dc2f1e96b216aa4f72 (patch)
tree89d33d29ff1bc6d7ccd34f05d95907d0e1e8ae27
parent28399835a6333a9cca85f3b92280eb3849347277 (diff)
Remove RSS feed
-rw-r--r--Gemfile.lock2
-rw-r--r--app/views/blog/feed.html.erb22
-rw-r--r--app/views/layouts/application.html.erb1
-rw-r--r--config/routes.rb1
4 files changed, 1 insertions, 25 deletions
diff --git a/Gemfile.lock b/Gemfile.lock
index 3d6b994b..e24e3451 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -303,4 +303,4 @@ RUBY VERSION
ruby 2.4.2p198
BUNDLED WITH
- 1.15.4
+ 1.16.1
diff --git a/app/views/blog/feed.html.erb b/app/views/blog/feed.html.erb
deleted file mode 100644
index a4b119d6..00000000
--- a/app/views/blog/feed.html.erb
+++ /dev/null
@@ -1,22 +0,0 @@
-<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
- <channel>
- <title>Git - Blog</title>
- <link><%= request.protocol %><%= request.host_with_port %></link>
- <atom:link href='<%= request.url %>' rel='self' type='application/rss+xml' />
- <description>Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.</description>
-
- <% list_posts.each do |entry| %>
- <% post = preview_post(entry[:file]) %>
- <item>
- <title><%= entry[:title] %></title>
- <guid><%= format_path(entry) %></guid>
- <link><%= format_path(entry) %></link>
- <% if post.last['author'] %>
- <author><%= post.last['author'] %></author>
- <% end %>
- <pubDate><%= entry[:date_published].rfc822 %></pubDate>
- <description><%= post.first %></description>
- </item>
- <% end %>
- </channel>
-</rss>
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index b126ed54..4b5c6886 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -9,7 +9,6 @@
<title><%= @page_title.present? ? @page_title : "Git" %></title>
<link href='/favicon.ico' rel='shortcut icon' type='image/x-icon'>
- <link rel="alternate" href="/blog.rss" type="application/rss+xml" title="Git - Blog">
<%= stylesheet_link_tag "git-scm.css" %>
<%= javascript_include_tag "modernizr.js", "modernizr-tests.js" %>
diff --git a/config/routes.rb b/config/routes.rb
index 67036e02..5457ac2f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -66,7 +66,6 @@ Gitscm::Application.routes.draw do
:month => /\d{2}/,
:day => /\d{2}/
- get "/blog.rss" => "blog#feed"
get "/blog" => "blog#index"
get "/publish" => "doc#book_update"