From f9177cbd3350fa2c8ffd0825e21e309871987c47 Mon Sep 17 00:00:00 2001 From: niklasbaumgardner Date: Thu, 18 Jun 2026 16:25:25 -0400 Subject: [PATCH] Add og meta tags --- fxsharing/shares/templates/shares/base.html | 16 ++ .../shares/templates/shares/view_share.html | 2 + static/assets/preview-background.svg | 153 ++++++++++++++++++ 3 files changed, 171 insertions(+) create mode 100644 static/assets/preview-background.svg diff --git a/fxsharing/shares/templates/shares/base.html b/fxsharing/shares/templates/shares/base.html index 404c063..f6f02cc 100644 --- a/fxsharing/shares/templates/shares/base.html +++ b/fxsharing/shares/templates/shares/base.html @@ -15,6 +15,22 @@ href="{% static 'assets/firefox.ico' %}" type="image/x-icon" /> + + + + + + + {% block extra_css %}{% endblock %} diff --git a/fxsharing/shares/templates/shares/view_share.html b/fxsharing/shares/templates/shares/view_share.html index b9d06f5..0b2560e 100644 --- a/fxsharing/shares/templates/shares/view_share.html +++ b/fxsharing/shares/templates/shares/view_share.html @@ -2,6 +2,8 @@ {% load static %} {% block title %}{{ share.title }}{% endblock %} +{% block og_title %}{{ share.title }} ยท Shared from Firefox{% endblock %} +{% block og_description %}Open a page of {{ link_count }} links created in Firefox, the browser that puts your privacy first.{% endblock %} {% block extra_css %} diff --git a/static/assets/preview-background.svg b/static/assets/preview-background.svg new file mode 100644 index 0000000..5db5c3c --- /dev/null +++ b/static/assets/preview-background.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +