spip_nursit/plugins-dist/dist/nursit/oembed/modeles/toot.html
2023-06-01 17:30:12 +02:00

16 lines
874 B
HTML

<blockquote class="mastodon-toot" style="[max-width:(#ENV{width})px;]">
<span class="toot-author">
[<a href="#ENV{url}" class="toot-published">(#ENV{published}|affdate_heure)</a>]
<a href="#ENV{author_url}" class="toot-author-url">
[(#ENV{author_thumbnail}|image_reduire{48,48}|liens_absolus|inserer_attribut{class,toot-author-thumbnail})]
[<span class="toot-author-screen-name">(#ENV*{author_screen_name})</span>]
[<span class="toot-author-name">(#ENV{author_name})</span>]
</a>
</span>
[<span class="toot-content">(#ENV*{content})</span>]
[<a href="#ENV{enclosure}" type="#ENV{enclosure_type}" class="toot-enclosure"><span class="toot-enclosure-inner" style="background-image:url('(#ENV{enclosure})');"></span></a>]
</blockquote>
[(#ENV{need_emoji}|oui)
<style type="text/css">@import url("[(#CHEMIN{lib/php-emoji/emoji.css}|url_absolue)]");</style>
]