mirror of
https://github.com/aljazceru/Journal-ghost.git
synced 2026-01-15 03:04:19 +01:00
Better handling footer without secondary navigation
refs https://github.com/TryGhost/Themes/issues/225
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
12
default.hbs
12
default.hbs
@@ -84,16 +84,16 @@
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
|
||||
<footer class="gh-foot gh-outer">
|
||||
<footer class="gh-foot{{#unless @site.secondary_navigation}} no-menu{{/unless}} gh-outer">
|
||||
<div class="gh-foot-inner gh-inner">
|
||||
<div class="gh-copyright">
|
||||
{{@site.title}} © {{date format="YYYY"}}
|
||||
</div>
|
||||
|
||||
<nav class="gh-foot-menu">
|
||||
{{navigation type="secondary"}}
|
||||
</nav>
|
||||
|
||||
{{#if @site.secondary_navigation}}
|
||||
<nav class="gh-foot-menu">
|
||||
{{navigation type="secondary"}}
|
||||
</nav>
|
||||
{{/if}}
|
||||
<div class="gh-powered-by">
|
||||
<a href="https://ghost.org/" target="_blank" rel="noopener">Powered by Ghost</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user