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-15 22:49:51 +0300
committerJason Long <jlong@github.com>2018-01-15 22:49:51 +0300
commitd45e1213e04a2685be136a27af72203eaf51821a (patch)
treeabe377d2d2db6984d25e2a7054b7f8d43ecb22cb
parent51036ccb3575fd8ba4f6cd4b8614b24e0ccb3ac8 (diff)
Fix erb tags
-rw-r--r--app/views/blog/feed.html.erb14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/blog/feed.html.erb b/app/views/blog/feed.html.erb
index 504fcebe..a4b119d6 100644
--- a/app/views/blog/feed.html.erb
+++ b/app/views/blog/feed.html.erb
@@ -1,21 +1,21 @@
<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>
+ <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>
+ <title><%= entry[:title] %></title>
+ <guid><%= format_path(entry) %></guid>
+ <link><%= format_path(entry) %></link>
<% if post.last['author'] %>
- <author>#{post.last['author']}</author>
+ <author><%= post.last['author'] %></author>
<% end %>
- <pubDate>#{entry[:date_published].rfc822}</pubDate>
- <description>#{post.first}</description>
+ <pubDate><%= entry[:date_published].rfc822 %></pubDate>
+ <description><%= post.first %></description>
</item>
<% end %>
</channel>