aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes/mastodon.html
diff options
context:
space:
mode:
authoryingyu5658 <i@yingyu5658.me>2026-01-11 22:59:03 +0800
committeryingyu5658 <i@yingyu5658.me>2026-01-11 22:59:03 +0800
commit16e2a3fd905c5ffb5e0a90c1a4805559d372b389 (patch)
tree929186c19af5b27bdb75f2252e0949db44102221 /layouts/shortcodes/mastodon.html
parentdf0f931af8c9008bc59a2955dcf4c9facf2834fa (diff)
downloadblog-16e2a3fd905c5ffb5e0a90c1a4805559d372b389.tar.gz
blog-16e2a3fd905c5ffb5e0a90c1a4805559d372b389.zip
docs: post weekly
Diffstat (limited to 'layouts/shortcodes/mastodon.html')
-rw-r--r--layouts/shortcodes/mastodon.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/shortcodes/mastodon.html b/layouts/shortcodes/mastodon.html
new file mode 100644
index 0000000..cfb15ca
--- /dev/null
+++ b/layouts/shortcodes/mastodon.html
@@ -0,0 +1,16 @@
+<script type="module" src="https://unpkg.com/mastodon-widget"></script>
+
+<mastodon-widget account="Verdant@c7.io" limit="10" header="true">
+</mastodon-widget>
+
+<style>
+ header,
+ .post-title,
+ .post-info {
+ display: none !important;
+ }
+
+ mastodon-weight {
+ background-color: black !important;
+ }
+</style>