-
Notifications
You must be signed in to change notification settings - Fork 1
/
emfed.html
47 lines (45 loc) · 1.64 KB
/
emfed.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="en">
<!-- using emfed -->
<head>
<meta charset="utf-8" />
<title>Testing Mastodon embedded timeline</title>
<meta name="author" content="@[email protected]" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="keywords" content="mastodon, embed timeline" />
<meta name="description" content="Mastodon embed timeline" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/fedi-share.css" />
<link rel="stylesheet" type="text/css"
href="https://cdn.jsdelivr.net/gh/sampsyo/emfed@1/toots.css">
</head>
<body>
<div class="info-block">
The timeline embedded here is using <a href="https://github.com/sampsyo/emfed">Emfed</a>, with options set to limit to 10 posts.
</div>
<div class="fedi-share fedi-share-lg">
<input type="checkbox" class="fedi-check-toggle" />
<div class="fedi-instance">
<span>Instance: </span>
<input
type="textbox"
name="fedi-instance-input"
placeholder="mastodon.social"
/>
<button class="fedi-share-button">Share</button>
</div>
<label class="fedi-top fedi-check-label">
<span style="font-size: 14px">Share on</span>
<img src="./fedi-share.svg" />
</label>
</div>
<div>
<a class="mastodon-feed"
href="https://macaw.social/@andypiper"
data-toot-limit="10" data-toot-account-id="109332977621728450"
>follow me in the Fediverse</a>
</div>
<script type="module" src="https://esm.sh/emfed"></script>
<script src="js/fedi-share.js"></script>
</body>
</html>