Private
Public Access
1
0

added secure_url to og_image

This commit is contained in:
Sander Roosendaal
2017-10-10 08:29:19 +02:00
parent b6082f2716
commit 0e3d9b71ff
5 changed files with 4 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
{{ workout.date }} - {{ workout.distance }}m - {{ workout.duration |durationprint:"%H:%M:%S.%f" }}{% endblock %}
{% block og_image %}
<meta property="og:image" content="http://rowsandall.com/{{ graph.filename |spacetohtml }}" />
<meta property="og:image:secure_url" content="https://rowsandall.com/{{ graph.filename |spacetohtml }}" />
{% endblock %}
{% block content %}
<h1>{{ workout.name }}</h1>

View File

@@ -14,6 +14,7 @@
{% block og_image %}
{% for graph in graphs1 %}
<meta property="og:image" content="http://rowsandall.com/{{ graph.filename |spacetohtml }}" />
<meta property="og:image:secure_url" content="https://rowsandall.com/{{ graph.filename |spacetohtml }}" />
{% endfor %}
{% endblock %}
{% block image_src %}

BIN
static/img/logo_r.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

BIN
static/img/logoklein.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@@ -29,7 +29,8 @@
{% block image_src %}<link rel="image_src" href="static/img/logo7.png" />{% endblock %}
<meta property="og:type" content="website">
{% block og_image %}
<meta property="og:image" content="http://rowsandall.com/static/img/logo7.png" />
<meta property="og:image" content="http://rowsandall.com/static/img/logo_r.png" />
<meta property="og:image:secure_url" content="https://rowsandall.com/static/img/logo_r.png" />
{% endblock %}
<meta property="og:url" content="http://rowsandall.com{{ request.get_full_path }}" />
<meta property="fb:app_id" content="694685920739849" />