URLs should be host-relative, so that they also work on devservers.
URLs in emails should remain absolute, though; we may want to change those
to use {{ url_for(..., _external=True) }} at some point.
This commit is contained in:
2018-09-05 13:57:15 +02:00
parent 7f58be4568
commit 7b32b97203
4 changed files with 65 additions and 65 deletions

View File

@@ -55,7 +55,7 @@ meta(name="twitter:image", content="{{ url_for('static', filename='assets/img/ba
small Blender Cloud add-on requires Blender 2.78 or newer
a.page-card-cta.download(
href="https://cloud.blender.org/r/downloads/blender_cloud-latest-addon.zip")
href="/r/downloads/blender_cloud-latest-addon.zip")
i.pi-download
| Download add-on &nbsp;<small>v</small> {{ config.BLENDER_CLOUD_ADDON_VERSION }}
@@ -78,7 +78,7 @@ meta(name="twitter:image", content="{{ url_for('static', filename='assets/img/ba
a.page-card-cta(
href="https://cloud.blender.org/blog/introducing-blender-sync")
href="/blog/introducing-blender-sync")
| Learn More
.page-card-side
@@ -91,7 +91,7 @@ meta(name="twitter:image", content="{{ url_for('static', filename='assets/img/ba
h2.page-card-title Texture & HDRI Browser
.page-card-summary
p.
Access the <a href="https://cloud.blender.org/p/textures/">Blender Cloud Textures</a>
Access the <a href="/p/textures/">Blender Cloud Textures</a>
library from within Blender using our exclusive add-on.
Create, manage and share <em>your own</em> texture libraries!
@@ -124,7 +124,7 @@ meta(name="twitter:image", content="{{ url_for('static', filename='assets/img/ba
| Watch Video
a.page-card-cta.outline(
href="https://cloud.blender.org/blog/introducing-image-sharing")
href="/blog/introducing-image-sharing")
| Learn More
.page-card-side
@@ -140,7 +140,7 @@ meta(name="twitter:image", content="{{ url_for('static', filename='assets/img/ba
Upload assets and collaborate with other Blender Cloud members.
a.page-card-cta(
href="https://cloud.blender.org/blog/introducing-private-projects")
href="/blog/introducing-private-projects")
| Learn More
.page-card-side
@@ -162,7 +162,7 @@ meta(name="twitter:image", content="{{ url_for('static', filename='assets/img/ba
| Watch Video
a.page-card-cta(
href="https://cloud.blender.org/blog/attract-and-flamenco-public-beta",
href="/blog/attract-and-flamenco-public-beta",
title="Learn more about Attract")
| Learn More