fix: Solving nasty syntax error. #12

Merged
sergiotarxz merged 1 commits from bugfix/issue_#11/solving_syntax_error into master 2020-07-28 20:21:59 +02:00
Showing only changes of commit 78595085fe - Show all commits

View File

@ -13,7 +13,7 @@
<?php endif; ?>
</header>
<?php if ($page->coverImage()): ?>
<img src="<?php echo htmlentities($page->coverImage(), ENT_QUOTES | ENT_HTML401); ?>" alt="<?php htmlentities(echo $page->slug(), ENT_QUOTES | ENT_HTML401); ?>"/>
<img src="<?php echo htmlentities($page->coverImage(), ENT_QUOTES | ENT_HTML401); ?>" alt="<?php echo htmlentities($page->slug(), ENT_QUOTES | ENT_HTML401); ?>"/>
<?php endif ?>
<?php echo $page->content() ?>