init
This commit is contained in:
commit
d013ece0f3
363 changed files with 20823 additions and 0 deletions
16
themes/duckquill/templates/shortcodes/mastodon.html
Normal file
16
themes/duckquill/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>
|
Loading…
Add table
Add a link
Reference in a new issue