Update url_for statements for project redirects

Now we always point to the full project urls.
This commit is contained in:
2017-06-01 17:40:16 +02:00
parent 8c38861c2f
commit 96ffee49cf
3 changed files with 13 additions and 13 deletions

View File

@@ -50,20 +50,20 @@
.row .row
.col-md-4 .col-md-4
a(href="{{ url_for('main.redir_textures') }}") a(href="{{ url_for('projects.view', project_url='textures') }}")
h3 Textures h3 Textures
p. p.
More than 1500 texture maps to browse online or within Blender via our awesome add-on. More than 1500 texture maps to browse online or within Blender via our awesome add-on.
Create your own Texture libraries! Create your own Texture libraries!
.col-md-4 .col-md-4
a(href="{{ url_for('main.redir_hdri') }}") a(href="{{ url_for('projects.view', project_url='hdri') }}")
h3 HDRI h3 HDRI
p. p.
Up to 8K and 18 EVs (extremely high) HDR images to light your renders. Up to 8K and 18 EVs (extremely high) HDR images to light your renders.
.col-md-4 .col-md-4
a(href="{{ url_for('main.redir_characters') }}") a(href="{{ url_for('projects.view', project_url='characters') }}")
h3 Characters h3 Characters
p. p.
Production quality, fully rigged and shaded characters ready to animate. Production quality, fully rigged and shaded characters ready to animate.

View File

@@ -175,7 +175,7 @@ meta(property="og:image", content="{{ url_for('static', filename='assets/img/bac
.page-triplet-container.homepage .page-triplet-container.homepage
.row .row
.col-md-4 .col-md-4
.triplet-card(data-url="{{ url_for('main.redir_textures') }}") .triplet-card(data-url="{{ url_for('projects.view', project_url='textures') }}")
.triplet-card-thumbnail .triplet-card-thumbnail
img( img(
alt="Textures", alt="Textures",
@@ -185,11 +185,11 @@ meta(property="og:image", content="{{ url_for('static', filename='assets/img/bac
p. p.
More than 1500 texture maps. More than 1500 texture maps.
Browse online or from Blender with our awesome add-on. Browse online or from Blender with our awesome add-on.
a.triplet-cta(href="{{ url_for('main.redir_textures') }}") a.triplet-cta(href="{{ url_for('projects.view', project_url='textures') }}")
| LEARN MORE | LEARN MORE
.col-md-4 .col-md-4
.triplet-card(data-url="{{ url_for('main.redir_hdri') }}") .triplet-card(data-url="{{ url_for('projects.view', project_url='hdri') }}")
.triplet-card-thumbnail .triplet-card-thumbnail
img( img(
alt="HDRI", alt="HDRI",
@@ -198,11 +198,11 @@ meta(property="og:image", content="{{ url_for('static', filename='assets/img/bac
h3 HDRI h3 HDRI
p. p.
Up to 16K and 24 EVs (extremely high) HDR images to light your renders. Up to 16K and 24 EVs (extremely high) HDR images to light your renders.
a.triplet-cta(href="{{ url_for('main.redir_hdri') }}") a.triplet-cta(href="{{ url_for('projects.view', project_url='hdri') }}")
| LEARN MORE | LEARN MORE
.col-md-4 .col-md-4
.triplet-card(data-url="{{ url_for('main.redir_characters') }}") .triplet-card(data-url="{{ url_for('projects.view', project_url='characters') }}")
.triplet-card-thumbnail .triplet-card-thumbnail
img( img(
alt="Characters", alt="Characters",
@@ -211,7 +211,7 @@ meta(property="og:image", content="{{ url_for('static', filename='assets/img/bac
h3 Characters h3 Characters
p. p.
Production quality, fully rigged and shaded characters ready to animate. Production quality, fully rigged and shaded characters ready to animate.
a.triplet-cta(href="{{ url_for('main.redir_characters') }}") a.triplet-cta(href="{{ url_for('projects.view', project_url='characters') }}")
| LEARN MORE | LEARN MORE

View File

@@ -137,7 +137,7 @@ html(lang="en")
ul.dropdown-menu ul.dropdown-menu
li li
a.navbar-item( a.navbar-item(
href="{{ url_for('main.redir_hdri') }}", href="{{ url_for('projects.view', project_url='hdri') }}",
title="HDRI Library", title="HDRI Library",
data-toggle="tooltip", data-toggle="tooltip",
data-placement="left") data-placement="left")
@@ -145,7 +145,7 @@ html(lang="en")
| HDRI | HDRI
li li
a.navbar-item( a.navbar-item(
href="{{ url_for('main.redir_textures') }}", href="{{ url_for('projects.view', project_url='textures') }}",
title="Textures Library", title="Textures Library",
data-toggle="tooltip", data-toggle="tooltip",
data-placement="left") data-placement="left")
@@ -153,7 +153,7 @@ html(lang="en")
| Textures | Textures
li li
a.navbar-item( a.navbar-item(
href="{{ url_for('main.redir_characters') }}", href="{{ url_for('projects.view', project_url='characters') }}",
title="Character Library", title="Character Library",
data-toggle="tooltip", data-toggle="tooltip",
data-placement="left") data-placement="left")
@@ -161,7 +161,7 @@ html(lang="en")
| Characters | Characters
li li
a.navbar-item( a.navbar-item(
href="{{ url_for('main.gallery') }}", href="{{ url_for('projects.view', project_url='gallery') }}",
title="Curated artwork collection", title="Curated artwork collection",
data-toggle="tooltip", data-toggle="tooltip",
data-placement="left") data-placement="left")