Skip to content

Commit

Permalink
Add hreflang attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanBnm committed Mar 22, 2020
1 parent 991c2fc commit 0f3889c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<!-- Listing available languages -->
<ul>
<?php foreach ($languages as $l => $name) { ?>
<li><a href="?lang=<?= $l; ?>"><?= $name; ?></a></li>
<li><a href="?lang=<?= $l; ?>" hreflang="<?= $l; ?>"><?= $name; ?></a></li>
<?php } ?>
</ul>
</body>
Expand Down

0 comments on commit 0f3889c

Please sign in to comment.