bune.city/mastodon-share.html

17 lines
No EOL
590 B
HTML

---
title: Share Bune City Blog post on Mastodon
layout: default
no_header: true
no_footer: true
---
<script src='/assets/mastodon-share.js'></script>
<main>
<noscript>JavaScript is required, sorry!</noscript>
<h1>Share with Mastodon</h1>
In order to share this post on Mastodon, you'll need to enter your instance URL below. You'll get a chance to preview and edit what gets posted.
<hr>
<form onsubmit='return false;'>
<input type='url' name='instance' id='share-instance' placeholder='https://example.com'>
<button onclick='share_with_mastodon()'>Share</button>
</form>
</main>