WebGPU examples: keep link relative to the current page (#8617)

# Objective

- Fix bad links in the WebGPU example page

## Solution

- Bevy website always add the trailing slash, keep the link relative by
removing the current folder from it
This commit is contained in:
François 2023-05-15 23:47:44 +02:00 committed by GitHub
parent 3d75210564
commit 6b0986a6e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -219,7 +219,7 @@ description = \"{}\"
[extra] [extra]
technical_name = \"{}\" technical_name = \"{}\"
link = \"examples-webgpu/{}/{}\" link = \"{}/{}\"
image = \"../static/screenshots/{}/{}.png\" image = \"../static/screenshots/{}/{}.png\"
code_path = \"content/examples-webgpu/{}\" code_path = \"content/examples-webgpu/{}\"
github_code_path = \"{}\" github_code_path = \"{}\"