Add webmentions
This commit is contained in:
@@ -12,8 +12,11 @@ html
|
||||
link rel="token_endpoint" href=Hanami.app.settings.micropub_token_endpoint
|
||||
link rel="micropub" href="#{URI.join(Hanami.app.settings.micropub_site_url, "micropub")}"
|
||||
|
||||
link rel="me" href="https://social.dnitza.com/@daniel"
|
||||
link rel="me" href="https://github.com/dnitza"
|
||||
link rel="webmention" href=Hanami.app.settings.webmention_url
|
||||
link rel="pingback" href=Hanami.app.settings.pingback_url
|
||||
|
||||
link rel="me" href=Hanami.app.settings.mastodon_url
|
||||
link rel="me" href=Hanami.app.settings.github_url
|
||||
|
||||
link rel="stylesheet" href="/assets/index.css"
|
||||
link rel="icon" type="image/x-icon" href="/assets/favicon.ico"
|
||||
|
@@ -18,7 +18,12 @@ module Adamantium
|
||||
setting :micropub_site_url
|
||||
# Auth
|
||||
setting :micropub_pub_key, default: nil
|
||||
# TODO: add other auth methods here
|
||||
setting :github_url, default: nil
|
||||
setting :mastodon_url, default: nil
|
||||
|
||||
setting :webmention_url, default: nil
|
||||
setting :pingback_url, default: nil
|
||||
setting :webmention_token, default: nil
|
||||
|
||||
# Micropub endpoints
|
||||
setting :micropub_media_endpoint, default: "", constructor: Types::Params::String
|
||||
|
Reference in New Issue
Block a user