FIX: language was not being inserted into RSS
This commit is contained in:
parent
4904eeaa67
commit
246ae75a31
|
@ -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" />
|
||||||
|
|
Loading…
Reference in New Issue