Is there a way to configure Canonical Link Metadata?

I am trying to allow a widget to define a canonical link(tag) in the metadata of a blog post. Is it possible to set the link and then later retrieve it?



Clarifying this is for a blog post
[edited by: Beck at 7:19 PM (GMT 0) on Mon, Mar 21 2022]