sociale.network è parte del social network decentralizzato, sviluppato da Mastodon.
Sociale.network è un ambiente di confronto per pacifisti, anarcolibertari, ecologisti, antimilitaristi, antirazzisti, antifascisti e ogni altro genere di persone che sogna un mondo pulito e solidale

Amministrato da:

Statistiche del server:

313
utenti attivi

Scopri di più

Oblomov

I'm working to add
github.com/Juerd/tootpick
to my website, which is statically built. I need some way to add a Tootpick link to each permalink, and I want to do it client-side via JavaScript (Tootpick needs JS anyway). So I need to add this JS to all the webpages, and I'm having on how to do it. Modify the base page template, or add a builder setup option?

(TBF, this is partially the fault of my builder, , which isn't really friendly on this side of things).

Link target for Mastodon "share buttons". Contribute to Juerd/tootpick development by creating an account on GitHub.
GitHubGitHub - Juerd/tootpick: Link target for Mastodon "share buttons"Link target for Mastodon "share buttons". Contribute to Juerd/tootpick development by creating an account on GitHub.

I _really_ need to convert my site to something better than , that's the truth. I'm really leaning towards with the plugin, but I conversion is going to take SO much time … really not looking forward to that.

In the end I opted for a hard-coded site-specific `script` meta in the base page template. Which turned out to be the right choice since I'm doing additional changes to the template now to better accommodate the permalinks + tootpick links, so I was going to do the custom page template anyway sooner or later.