Fix icon with HTML5

This commit is contained in:
Sébastien Lucas 2013-05-15 21:17:30 +02:00
parent 01dcf3ef0c
commit 9ad2624c19

View file

@ -203,7 +203,7 @@
?>
<article>
<div class="frontpage">
<?php foreach ($entry->linkArray as $link) {?> <a href="<?php echo $link->hrefXhtml () ?>">
<?php foreach ($entry->linkArray as $link) { if ($link->type != Link::OPDS_NAVIGATION_TYPE) { continue; } ?> <a href="<?php echo $link->hrefXhtml () ?>">
<h2><?php echo htmlspecialchars ($entry->title) ?></h2>
<?php } ?>
<h4><?php echo htmlspecialchars ($entry->content) ?></h4>