Skip to content

Commit

Permalink
Fixed missing footer hook with particular configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
giterlizzi committed May 5, 2020
1 parent fb4e328 commit 411a961
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Enjoy!
* #465: Added "itemref" meta (thanks to @sioc-de-narf)
* #466: Regression with Callout syntax and SVG icon (thanks to @geraldraaf)
* #469: No TOC in Navbar (thanks to @Ohkami)
* #476: Fixed missing footer hook with particular configurations (thanks to @darren-henderson)


## [v2019-05-22]
Expand Down
10 changes: 8 additions & 2 deletions tpl/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@
<!-- footer -->
<div class="dw-container small container<?php echo ($TEMPLATE->getConf('fixedTopNavbar') || $TEMPLATE->isFluidNavbar() ? '-fluid mx-5' : '') ?>">

<?php if ($wiki_info_is_enabled): ?>

<div class="footer-dw-title">
<?php if ($wiki_info_is_enabled): ?>
<div class="media">
<div class="media-left">
<img src="<?php echo $wiki_logo ?>" alt="<?php echo $wiki_title ?>" class="media-object" style="height:32px" />
Expand All @@ -53,8 +54,13 @@
</div>
</div>
</div>
<?php endif; ?>
<?php
if (! $wiki_info_is_enabled && $footer_page_exist) {
echo $TEMPLATE->includePage('footer');
}
?>
</div>
<?php endif; ?>

<div class="footer-license row">
<hr/>
Expand Down

0 comments on commit 411a961

Please sign in to comment.