mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
use created_at for to_rss if not updated yet
This commit is contained in:
parent
161dfb70f3
commit
d16bc0bace
1 changed files with 1 additions and 1 deletions
|
@ -1609,7 +1609,7 @@ class Site < Sequel::Model
|
|||
def to_rss
|
||||
RSS::Maker.make("atom") do |maker|
|
||||
maker.channel.title = title
|
||||
maker.channel.updated = updated_at
|
||||
maker.channel.updated = (updated_at ? updated_at : created_at)
|
||||
maker.channel.author = username
|
||||
maker.channel.id = "#{username}.neocities.org"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue