8000 Remove hard-coded "Introduction" path · Overv/daux.io@b3ab5c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit b3ab5c3

Browse files
committed
Remove hard-coded "Introduction" path
1 parent 22f7216 commit b3ab5c3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

themes/vulkan/templates/layout/05_page.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@
2424
<?php
2525
$language_pickers = array();
2626
foreach($params['languages'] as $lang => $lang_name) {
27-
if ($lang === $params['language']) {
28-
$language_pickers[] = '<a href="/Introduction">' . $lang_name . '</a>';
29-
} else {
30-
$language_pickers[] = '<a href="/' . $lang . '/Introduction">' . $lang_name . '</a>';
31-
}
27+
$language_pickers[] = '<a href="/' . $lang . '">' . $lang_name . '</a>';
3228
}
3329
echo implode(' / ', $language_pickers);
3430
?>

0 commit comments

Comments
 (0)
0