From 9a99dee89114bcdd1811ab0e022b0812fd664dff Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Mon, 5 Dec 2022 23:24:12 +0000 Subject: [PATCH] New/Modified Toots --- 108331903834519586.md | 2 +- 108336567995795980.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/108331903834519586.md b/108331903834519586.md index 9bec9d8..81a2857 100644 --- a/108331903834519586.md +++ b/108331903834519586.md @@ -1,5 +1,5 @@ --- -{"id": "108331903834519586", "in_reply_to_id": null, "in_reply_to_account_id": null, "sensitive": false, "spoiler_text": "", "visibility": "public", "language": "en", "replies_count": 2, "reblogs_count": 4, "favourites_count": 12, "edited_at": null, "reblog": null, "application": null, "account": {"id": "108219415927856966", "username": "brozek", "acct": "brozek", "display_name": "Brandon Rozek", "url": "https://fosstodon.org/@brozek", "avatar": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "avatar_static": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "header": "https://fosstodon.org/headers/original/missing.png", "header_static": "https://fosstodon.org/headers/original/missing.png", "noindex": true}, "media_attachments": [{"id": "108331891390627140", "type": "image", "url": "https://cdn.fosstodon.org/media_attachments/files/108/331/891/390/627/140/original/f6dbc1951370ca24.png", "preview_url": "https://cdn.fosstodon.org/media_attachments/files/108/331/891/390/627/140/small/f6dbc1951370ca24.png", "remote_url": null, "preview_remote_url": null, "text_url": null, "meta": {"focus": {"x": -1.0, "y": 0.77}, "original": {"width": 824, "height": 181, "size": "824x181", "aspect": 4.552486187845304}, "small": {"width": 824, "height": 181, "size": "824x181", "aspect": 4.552486187845304}}, "description": "A toot where I thanked someone sharing a Lunar Eclipse photo.", "blurhash": "U6QvtJ00IUD%-;IUDiRj-;xut7t7tR-;-;t7"}], "mentions": [], "tags": [{"name": "hugo", "url": "https://fosstodon.org/tags/hugo"}], "emojis": [], "card": {"url": "https://brandonrozek.com/toots/", "title": "Toots", "description": "Brandon's Toots from Mastodon", "type": "link", "author_name": "", "author_url": "", "provider_name": "", "provider_url": "", "html": "", "width": 0, "height": 0, "image": null, "embed_url": "", "blurhash": null}, "poll": null, "syndication": "https://fosstodon.org/@brozek/108331903834519586", "date": "2022-05-20T02:27:49.362Z"} +{"id": "108331903834519586", "in_reply_to_id": null, "in_reply_to_account_id": null, "sensitive": false, "spoiler_text": "", "visibility": "public", "language": "en", "replies_count": 2, "reblogs_count": 4, "favourites_count": 11, "edited_at": null, "reblog": null, "application": null, "account": {"id": "108219415927856966", "username": "brozek", "acct": "brozek", "display_name": "Brandon Rozek", "url": "https://fosstodon.org/@brozek", "avatar": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "avatar_static": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "header": "https://fosstodon.org/headers/original/missing.png", "header_static": "https://fosstodon.org/headers/original/missing.png", "noindex": true}, "media_attachments": [{"id": "108331891390627140", "type": "image", "url": "https://cdn.fosstodon.org/media_attachments/files/108/331/891/390/627/140/original/f6dbc1951370ca24.png", "preview_url": "https://cdn.fosstodon.org/media_attachments/files/108/331/891/390/627/140/small/f6dbc1951370ca24.png", "remote_url": null, "preview_remote_url": null, "text_url": null, "meta": {"focus": {"x": -1.0, "y": 0.77}, "original": {"width": 824, "height": 181, "size": "824x181", "aspect": 4.552486187845304}, "small": {"width": 824, "height": 181, "size": "824x181", "aspect": 4.552486187845304}}, "description": "A toot where I thanked someone sharing a Lunar Eclipse photo.", "blurhash": "U6QvtJ00IUD%-;IUDiRj-;xut7t7tR-;-;t7"}], "mentions": [], "tags": [{"name": "hugo", "url": "https://fosstodon.org/tags/hugo"}], "emojis": [], "card": {"url": "https://brandonrozek.com/toots/", "title": "Toots", "description": "Brandon's Toots from Mastodon", "type": "link", "author_name": "", "author_url": "", "provider_name": "", "provider_url": "", "html": "", "width": 0, "height": 0, "image": null, "embed_url": "", "blurhash": null}, "poll": null, "syndication": "https://fosstodon.org/@brozek/108331903834519586", "date": "2022-05-20T02:27:49.362Z"} --- {{< unsafe >}}
I have been working on displaying toots from Mastodon on my website using #Hugo. I don't support all of Mastodon's features like CWs or Boosts but I think this is a great start!
An archival page of all my toots:
https://brandonrozek.com/toots/
I wrote up a post on how I display a single toot using #Hugo on my website.
https://brandonrozek.com/blog/displaying-a-toot-hugo/
This doesn't cover how I archive all my toots yet, that deserves a separate post :)