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