Closed captainbrosset closed 1 year ago
There are currently 6 tips that are just tweets:
They can be found easily in the source code by searching for isTweet
.
These tips only contain the URL to a tweet, and the build system replaces this URL with the right embedding code so that the real tweet appears at runtime for users visiting those pages.
The goal of this issue is to:
isTweet
from the build system: search for isTweet
in the rest of the code and remove the corresponding lines of code, and remove the usage of eleventy-plugin-embed-twitter
in the .eleventy.js
config file.Fixed with 4fb8a80d98e9c699844e86975c78169be87449f8.
Some tips are just links to tweets, and there's a plugin in the build system that turns those into tweet embeds.
This is bad because it takes time to load, requires javascript, can't be previewed in the tip list pages, and depends on twitter being available at all.
Let's convert those into actual tips on the site.