FIX: language was not being inserted into RSS

This commit is contained in:
Jeff Atwood 2015-01-23 15:57:29 -08:00
parent 4904eeaa67
commit 246ae75a31
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<title><%= @title %></title> <title><%= @title %></title>
<link><%= @link %></link> <link><%= @link %></link>
<description><%= @description %></description> <description><%= @description %></description>
<% if lang %><language>#{lang}</language><% end %> <% if lang %><language><%= lang%></language><% end %>
<% if @topic_list.topics && @topic_list.topics.length > 0 %> <% if @topic_list.topics && @topic_list.topics.length > 0 %>
<lastBuildDate><%= @topic_list.topics.first.created_at.rfc2822 %></lastBuildDate> <lastBuildDate><%= @topic_list.topics.first.created_at.rfc2822 %></lastBuildDate>
<atom:link href="<%= @atom_link %>" rel="self" type="application/rss+xml" /> <atom:link href="<%= @atom_link %>" rel="self" type="application/rss+xml" />