Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 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
2 changes: 1 addition & 1 deletion network-api/networkapi/buyersguide/templates/bg_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:type" content="website" />
{% block og-title %}
{% block head-extra %}
<meta property="og:title" content="*Privacy Not Included: A Buyer’s Guide for Connected Products" />
{% endblock %}
<meta property="og:description" content="70 connected products rated on their safety and security" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
{% load env %}
{% load cloudinary %}

{% block og-title %}
{% block head-extra %}
<meta property="og:title" content="privacy not included - {{ product.name }}" />
<link rel="canonical" href="{{ request.scheme }}://{{ request.get_host }}{{ request.get_full_path }}" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this require canonical links for the homepage, too?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this here because it's something Talk asks for specifically, and it's only on product pages.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The block name doesn't quite make sense. I'm going to update that

{% endblock %}
{% block body-id %}product-page{% endblock %}

Expand Down
3 changes: 1 addition & 2 deletions network-api/networkapi/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,7 @@

# CSP
CSP_DEFAULT = (
'self',
'localhost:8000',
'\'self\''
)

CSP_DEFAULT_SRC = env('CSP_DEFAULT_SRC', default=CSP_DEFAULT)
Expand Down