Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions fxsharing/shares/templates/shares/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@
href="{% static 'assets/firefox.ico' %}"
type="image/x-icon"
/>

<meta property="og:type" content="website" />
<meta property="og:url" content="{{ request.build_absolute_uri }}" />
<meta
property="og:title"
content="{% block og_title %}Share a collection of links with Firefox{% endblock %}"
/>
<meta
property="og:description"
content="{% block og_description %}Create an easy to share page of links you can send to anyone.{% endblock %}"
/>
<meta
property="og:image"
content="{{ request.scheme }}://{{ request.get_host }}{% static 'assets/preview-background.svg' %}"
/>

<link rel="stylesheet" href="{% static 'styles/common-shared.css' %}" />
<link rel="stylesheet" href="{% static 'styles/base.css' %}" />
{% block extra_css %}{% endblock %}
Expand Down
2 changes: 2 additions & 0 deletions fxsharing/shares/templates/shares/view_share.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
<link rel="stylesheet" href="{% static 'styles/moz-share.css' %}" />
Expand Down
Loading