diff --git a/src/templates/layout.pug b/src/templates/layout.pug index 96b0579..82c69ed 100644 --- a/src/templates/layout.pug +++ b/src/templates/layout.pug @@ -19,7 +19,7 @@ html(lang="en") | {% block og %} meta(property="og:title", content="Blender Cloud") - meta(property="og:url", content="https://cloud.blender.org") + meta(property="og:url", content="{{ request.url }}") meta(property="og:type", content="website") meta(property="og:image", content="{{ url_for('static', filename='assets/img/backgrounds/background_gleb_locomotive.jpg')}}") meta(property="og:description", content="Blender Cloud is a web based service developed by Blender Institute that allows people to access the training videos and all the data from the open projects.") diff --git a/src/templates/projects/landing.pug b/src/templates/projects/landing.pug index f603238..9c6c1ef 100644 --- a/src/templates/projects/landing.pug +++ b/src/templates/projects/landing.pug @@ -51,7 +51,7 @@ meta(name="twitter:description", content="Blender Cloud, your source for open co | {% endif %} -meta(property="og:url", content="{{url_for('projects.view_node', project_url=project.url, node_id=node._id)}}") +meta(property="og:url", content="{{url_for('projects.view_node', project_url=project.url, node_id=node._id), _external=True}}") | {% else %} meta(property="og:title", content="{{ project.name }} Blog on Blender Cloud") meta(name="twitter:title", content="{{ project.name }} Blog on Blender Cloud") diff --git a/src/templates/projects_index_collection.pug b/src/templates/projects_index_collection.pug index d8a829c..3fbdf4a 100644 --- a/src/templates/projects_index_collection.pug +++ b/src/templates/projects_index_collection.pug @@ -22,7 +22,7 @@ | {% block og %} meta(property="og:type", content="website") -meta(property="og:url", content="https://cloud.blender.org") +meta(property="og:url", content="{{ request.url }}") meta(property="og:title", content="{{ page_title }} on Blender Cloud") meta(name="twitter:title", content="{{ page_title }} on Blender Cloud") diff --git a/src/templates/services.pug b/src/templates/services.pug index a98a681..9f4480a 100644 --- a/src/templates/services.pug +++ b/src/templates/services.pug @@ -4,7 +4,7 @@ | {% block og %} meta(property="og:type", content="website") -meta(property="og:url", content="{{ url_for('cloud.services') }}") +meta(property="og:url", content="{{ request.url }}") meta(property="og:title", content="Services - Blender Cloud") meta(name="twitter:title", content="Services - Blender Cloud") diff --git a/src/templates/stats.pug b/src/templates/stats.pug index 41ca4a8..9945785 100644 --- a/src/templates/stats.pug +++ b/src/templates/stats.pug @@ -5,7 +5,7 @@ | {% block og %} meta(property="og:title", content="Blender Cloud Statistics") -meta(property="og:url", content="https://cloud.blender.org/stats") +meta(property="og:url", content="{{ request.url }}") meta(property="og:image", content="{{ url_for('static', filename='assets/img/backgrounds/background_andy_hdribot_01.jpg')}}") | {% endblock %} diff --git a/src/templates/welcome.pug b/src/templates/welcome.pug index 9917bfb..62a125d 100644 --- a/src/templates/welcome.pug +++ b/src/templates/welcome.pug @@ -8,7 +8,7 @@ | {% block og %} meta(property="og:title", content="Blender Cloud - Open Content Production Platform") -meta(property="og:url", content="https://cloud.blender.org/") +meta(property="og:url", content="{{ request.url }}") meta(property="og:image", content="{{ url_for('static', filename='assets/img/backgrounds/background_dweebs_01.jpg')}}") | {% endblock og %}