Update url_for statements for project redirects

Now we always point to the full project urls.
This commit is contained in:
Francesco Siddi 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
.col-md-4
a(href="{{ url_for('main.redir_textures') }}")
a(href="{{ url_for('projects.view', project_url='textures') }}")
h3 Textures
p.
More than 1500 texture maps to browse online or within Blender via our awesome add-on.
Create your own Texture libraries!
.col-md-4
a(href="{{ url_for('main.redir_hdri') }}")
a(href="{{ url_for('projects.view', project_url='hdri') }}")
h3 HDRI
p.
Up to 8K and 18 EVs (extremely high) HDR images to light your renders.
.col-md-4
a(href="{{ url_for('main.redir_characters') }}")
a(href="{{ url_for('projects.view', project_url='characters') }}")
h3 Characters
p.
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
.row
.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
img(
alt="Textures",
@ -185,11 +185,11 @@ meta(property="og:image", content="{{ url_for('static', filename='assets/img/bac
p.
More than 1500 texture maps.
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
.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
img(
alt="HDRI",
@ -198,11 +198,11 @@ meta(property="og:image", content="{{ url_for('static', filename='assets/img/bac
h3 HDRI
p.
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
.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
img(
alt="Characters",
@ -211,7 +211,7 @@ meta(property="og:image", content="{{ url_for('static', filename='assets/img/bac
h3 Characters
p.
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

View File

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