The-Mu-Foundation / Mutorials

A free, adaptive, open-source trainer for physics, chemistry, and biology students.
https://www.mutorials.org
GNU General Public License v3.0
17 stars 10 forks source link

Generic OpenGraph Protocol Implementation #365

Closed yadavta closed 3 years ago

yadavta commented 3 years ago

Enables all Mutorials links sent over social media (Discord, Messenger, Facebook, etc.) to have embeds. I left in the description tag b/c that's vanilla HTML and more likely to supported on legacy systems, so probs best not to remove it.

This change will simply make one, site-wide OpenGraph embed. Later on, it'll probably worthwhile to individualize the open graph tags for each page, but that'll take some bigger changes.