fix $lang shadowing before Atom feed generation
This commit is contained in:
parent
eacc4b7785
commit
6cdb1b47e1
1 changed files with 4 additions and 4 deletions
8
mkht.php
8
mkht.php
|
@ -226,11 +226,11 @@ foreach ($pages as $node) {
|
|||
<aside>
|
||||
<nav>
|
||||
<ul>
|
||||
<?php foreach ($page_langs as $lang) { ?>
|
||||
<li lang="<?= $lang ?>">
|
||||
<?php foreach ($page_langs as $page_lang) { ?>
|
||||
<li lang="<?= $page_lang ?>">
|
||||
<small>
|
||||
<a href="<?= $page_names[$src] ?>.<?= $lang ?>" rel="alternate" hreflang="<?= $lang ?>">
|
||||
<?= $lang_txt[$lang] ?? $lang ?>
|
||||
<a href="<?= $page_names[$src] ?>.<?= $page_lang ?>" rel="alternate" hreflang="<?= $page_lang ?>">
|
||||
<?= $lang_txt[$page_lang] ?? $page_lang ?>
|
||||
</a>
|
||||
</small>
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue