Skip to content

Commit

Permalink
Remove hard-coded "Introduction" path
Browse files Browse the repository at this point in the history
  • Loading branch information
chirsz-ever committed Nov 5, 2022
1 parent 22f7216 commit b3ab5c3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions themes/vulkan/templates/layout/05_page.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@
<?php
$language_pickers = array();
foreach($params['languages'] as $lang => $lang_name) {
if ($lang === $params['language']) {
$language_pickers[] = '<a href="/Introduction">' . $lang_name . '</a>';
} else {
$language_pickers[] = '<a href="/' . $lang . '/Introduction">' . $lang_name . '</a>';
}
$language_pickers[] = '<a href="/' . $lang . '">' . $lang_name . '</a>';
}
echo implode(' / ', $language_pickers);
?>
Expand Down

0 comments on commit b3ab5c3

Please sign in to comment.