First pass at webmentions

This commit is contained in:
2023-07-04 22:57:33 +10:00
parent a2e7a51b5f
commit 6057a8b4f0
8 changed files with 108 additions and 1 deletions

View File

@@ -216,7 +216,7 @@ module Adamantium
def fetch!(slug)
posts
.published
.combine(:tags, :trips)
.combine(:tags, :trips, :webmentions)
.where(slug: slug)
.one!
end

View File

@@ -0,0 +1,7 @@
module Adamantium
module Repos
class WebmentionsRepo < Adamantium::Repo[:webmentions]
commands :create
end
end
end