Open dpprdan opened 1 year ago
This PR adds a rel attribute to links. For example, rel="me" is used by Mastodon for link verification.
rel
links
rel="me"
I changed the Twitter links to Mastodon for illustration (it also shows how to add the Mastodon user name with @, cf. #57).
@
See it in action on my site (mastodon, source).
I noticed that there are two div blocks for the links in the pandoc templates. For example in the jolla template here:
div
https://github.com/seankross/postcards/blob/8f92e4ddc048ca02786f997814abe85fc953f5be/inst/pandoc_templates/jolla.html#L50-L64
and here
https://github.com/seankross/postcards/blob/8f92e4ddc048ca02786f997814abe85fc953f5be/inst/pandoc_templates/jolla.html#L66-L77
Is it necessary to have both and if yes, what for?
This PR adds a
rel
attribute tolinks
. For example,rel="me"
is used by Mastodon for link verification.I changed the Twitter links to Mastodon for illustration (it also shows how to add the Mastodon user name with
@
, cf. #57).See it in action on my site (mastodon, source).
I noticed that there are two
div
blocks for the links in the pandoc templates. For example in the jolla template here:https://github.com/seankross/postcards/blob/8f92e4ddc048ca02786f997814abe85fc953f5be/inst/pandoc_templates/jolla.html#L50-L64
and here
https://github.com/seankross/postcards/blob/8f92e4ddc048ca02786f997814abe85fc953f5be/inst/pandoc_templates/jolla.html#L66-L77
Is it necessary to have both and if yes, what for?