Skip to content

Commit 777f3ba

Browse files
committed
fix: now shows the correct image
1 parent 5fcc0af commit 777f3ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/head_information.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub fn HeadInformation() -> impl IntoView {
1313
let location = use_location().pathname.get();
1414
let path = location.as_str();
1515

16-
let preview = if path == "aprende" {
16+
let preview = if path == "/aprende" {
1717
"aprende_preview.webp"
1818
} else {
1919
"rustlanges_preview.webp"

0 commit comments

Comments
 (0)