blog/layouts/shortcodes/mastodon-api-comments.html

11 lines
529 B
HTML
Raw Normal View History

2019-11-02 08:08:21 +01:00
{{ $instance := .Get "instance" | default "" }}
{{ $status_id := .Get "status_id" | default "" }}
2019-10-31 08:37:37 +01:00
{{ partial "mastodon-api-comments-scripts.html" . }}
2019-11-02 08:08:21 +01:00
<style type="text/css">.mastodon-api-comment-avatar,.mastodon-api-comment-emoji{height:1em;}</style>
<div id="mastodon-api-comments_{{ $status_id }}" class="mastodon-api-comments"></div>
2019-10-31 08:59:16 +01:00
<noscript><p>Comments only work with JavaScript enabled.</p></noscript>
2019-10-31 08:37:37 +01:00
<script type="application/javascript">
fetch_mastodon_api_comments("{{ $instance }}", "{{ $status_id }}");
</script>