Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stress Test > BevyMark example doesn't load (404 error) #351

Closed
doup opened this issue Apr 17, 2022 · 3 comments
Closed

Stress Test > BevyMark example doesn't load (404 error) #351

doup opened this issue Apr 17, 2022 · 3 comments
Labels
A-Examples C-Bug A problem with the code that runs the site

Comments

@doup
Copy link
Contributor

doup commented Apr 17, 2022

BevyMark errors with a 404:

@DJMcNab
Copy link
Member

DJMcNab commented Apr 17, 2022

The correct link is https://bevyengine.org/examples/stress_tests/bevymark/.

Not sure how it ended up as the wrong link

@alice-i-cecile alice-i-cecile added C-Bug A problem with the code that runs the site A-Examples labels Apr 17, 2022
@mockersf
Copy link
Member

mockersf commented Apr 17, 2022

this is due to the "slugify" there:

<a class="card" href="/examples/{{ section.title | slugify }}/{{ post.title | slugify }}/"

_ are avoided in URLs and replaced by -

@doup
Copy link
Contributor Author

doup commented Apr 17, 2022

I think changing to

 category_path=`echo $2 | tr '_' '-'`

on the script once #350 merges should do the trick.


That will break the compile… we'll need to add a category_slug var or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Examples C-Bug A problem with the code that runs the site
Projects
None yet
4 participants