2019-11-02 06:44:18 +01:00
|
|
|
{{ $instance := .Get "instance" | default "" }}
|
|
|
|
{{ $status_id := .Get "status_id" | default "" }}
|
2019-10-31 05:34:19 +01:00
|
|
|
|
|
|
|
{{ partial "mastodon-api-comments-scripts.html" . }}
|
2019-11-02 07:52:48 +01:00
|
|
|
<style type="text/css">.mastodon-api-comment-avatar,.mastodon-api-comment-emoji{height:1em;}</style>
|
2019-11-02 06:54:59 +01:00
|
|
|
<div id="mastodon-api-comments_{{ $status_id }}" class="mastodon-api-comments"></div>
|
2019-10-31 08:52:15 +01:00
|
|
|
<noscript><p>Comments only work with JavaScript enabled.</p></noscript>
|
2019-10-31 05:34:19 +01:00
|
|
|
<script type="application/javascript">
|
2019-10-31 06:20:30 +01:00
|
|
|
fetch_mastodon_api_comments("{{ $instance }}", "{{ $status_id }}");
|
2019-10-31 05:34:19 +01:00
|
|
|
</script>
|