The big shortcode cleanup
This commit is contained in:
16
templates/shortcodes/mastodon.html
Normal file
16
templates/shortcodes/mastodon.html
Normal file
@ -0,0 +1,16 @@
|
||||
{%- if host -%}
|
||||
{%- set host = host -%}
|
||||
{%- else -%}
|
||||
{%- set host = config.extra.comments.host -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if user -%}
|
||||
{%- set user = user -%}
|
||||
{%- else -%}
|
||||
{%- set user = config.extra.comments.user -%}
|
||||
{%- endif -%}
|
||||
|
||||
<iframe
|
||||
class="mastodon-embed"
|
||||
src="https://{{ host }}/@{{ user }}/{{ id }}/embed">
|
||||
</iframe>
|
Reference in New Issue
Block a user