Class: Jekyll::MastodonLinkTagBlock
- Inherits:
-
Liquid::Block
- Object
- Liquid::Block
- Jekyll::MastodonLinkTagBlock
- Defined in:
- lib/jekyll/tags/mastodon-link.rb
Instance Method Summary collapse
Instance Method Details
#render(context) ⇒ Object
6 7 8 9 10 |
# File 'lib/jekyll/tags/mastodon-link.rb', line 6 def render(context) text = super url = MastodonSocial.(context["page"]["url"]) "<a href='#{url}'>#{text}</a>" end |