Fix RSS feed
This commit is contained in:
@@ -81,7 +81,11 @@ module Admin
|
||||
|
||||
def display_title
|
||||
title = name
|
||||
"#{prefix_emoji} #{title}"
|
||||
if prefix_emoji
|
||||
return "#{prefix_emoji} #{title}"
|
||||
else
|
||||
return title
|
||||
end
|
||||
end
|
||||
|
||||
def display_published_at
|
||||
|
@@ -85,7 +85,11 @@ module Main
|
||||
|
||||
def display_title
|
||||
title = name
|
||||
"#{prefix_emoji} #{title}"
|
||||
if prefix_emoji
|
||||
return "#{prefix_emoji} #{title}"
|
||||
else
|
||||
return title
|
||||
end
|
||||
end
|
||||
|
||||
def display_published_at
|
||||
|
@@ -1,6 +1,7 @@
|
||||
xml.instruct! "xml-stylesheet", {href: "/assets/full_style.xslt", type: "text/xsl"}
|
||||
|
||||
xml.channel do |channel|
|
||||
xml.rss do |rss|
|
||||
rss.channel do |channel|
|
||||
channel.title "Daniel Nitsikopoulos"
|
||||
channel.description "The personal blog of Daniel Nitsikopoulos, software engineer from Canberra, ACT"
|
||||
channel.link "https://dnitza.com"
|
||||
@@ -32,4 +33,5 @@ xml.channel do |channel|
|
||||
item.pubDate post.machine_published_at
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@@ -1,6 +1,7 @@
|
||||
xml.instruct! "xml-stylesheet", {href: "/assets/style.xslt", type: "text/xsl"}
|
||||
|
||||
xml.channel do |channel|
|
||||
xml.rss do |rss|
|
||||
rss.channel do |channel|
|
||||
channel.title "Daniel Nitsikopoulos"
|
||||
channel.description "The personal blog of Daniel Nitsikopoulos, software engineer from Canberra, ACT"
|
||||
channel.link "https://dnitza.com"
|
||||
@@ -32,4 +33,5 @@ xml.channel do |channel|
|
||||
item.pubDate post.machine_published_at
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@@ -50,7 +50,11 @@ module Micropub
|
||||
|
||||
def display_title
|
||||
title = name
|
||||
"#{prefix_emoji} #{title}"
|
||||
if prefix_emoji
|
||||
return "#{prefix_emoji} #{title}"
|
||||
else
|
||||
return title
|
||||
end
|
||||
end
|
||||
|
||||
def display_published_at
|
||||
|
Reference in New Issue
Block a user