Commit Graph
12 Commits
Author SHA1 Message Date
Andrew Stryker df71a6b41c Cache list of default platforms 2025-03-10 09:10:57 -07:00
Andrew Stryker 32d2c5add9 Select Mastodon share links by class
This gives me some flexibility to include multiple anchors on a page.
Not sure if this is really needed. However, this is better than listening
to an id that might not be unique.
2025-03-10 09:07:46 -07:00
Andrew Stryker d2279a776e Extend render to for generic sharing 2025-03-09 18:41:12 -07:00
Andrew Stryker e956d0a6bf Revise Mastodon sharing approach
The partial now uses a short JavaScript:
  - Attempts to use the web+mastodon protocol to open a client
  - Falls back to a redirect if that does not work

This is (hopefully) a pragmatic, maintainable, and future proof
solution.
2025-03-09 11:47:16 -07:00
Andrew Stryker 26d8fff5b2 Ask user for Mastodon instance 2025-03-08 19:02:00 -08:00
Andrew Stryker 427d9896f4 Add shortcodes for including content 2025-03-08 18:31:52 -08:00
Andrew Stryker 34303b27e3 Support social sharing 2025-03-08 18:30:11 -08:00
Andrew Stryker 6d9984acde Move to xparams for organizing parameters 2025-02-28 17:01:21 -08:00
Andrew Stryker a5f12ddab1 Use KaTeX partial recommended in Hugo documentation 2025-02-28 16:56:27 -08:00
Andrew Stryker 81e54db2fc Add Mermaid shortcode 2025-02-26 20:11:59 -08:00
Andrew Stryker 9f6a5b44f8 Add basic partials 2025-02-26 20:10:48 -08:00
Andrew Stryker 91706cf2f2 Add shortcode for raw html 2023-12-19 16:43:26 -08:00