From 54ec74c6edcca6f84c96502ebbfa4bb6167fe116 Mon Sep 17 00:00:00 2001 From: Nathan Upchurch Date: Tue, 9 Jul 2024 11:39:02 -0500 Subject: [PATCH] Add toot embedding --- _includes/mastodonComments.njk | 23 +---- eleventy.config.js | 51 +++++++--- public/css/index.css | 23 +++-- public/js/main.js | 1 + public/js/modules/mastodonDateTools.js | 22 ++++ public/js/webComponents/toot.js | 136 +++++++++++++++++++++++++ 6 files changed, 217 insertions(+), 39 deletions(-) create mode 100644 public/js/modules/mastodonDateTools.js create mode 100644 public/js/webComponents/toot.js diff --git a/_includes/mastodonComments.njk b/_includes/mastodonComments.njk index 4d3921b..c0254ee 100644 --- a/_includes/mastodonComments.njk +++ b/_includes/mastodonComments.njk @@ -25,27 +25,8 @@ -