Add pinboard syndication icon

This commit is contained in:
2023-02-01 21:31:57 +11:00
parent 9309c2c104
commit 59a59379cf
4 changed files with 30 additions and 0 deletions

View File

@@ -9,6 +9,19 @@ module Adamantium
def display_published_at
published_at.strftime("%e %B, %Y")
end
def syndicated?
!syndication_sources.empty?
end
def syndicated_to
syndication_sources.map do |source, url|
{
location: source,
url: url
}
end
end
end
end
end