diff options
| author | 2018-12-15 04:56:38 -0500 | |
|---|---|---|
| committer | 2018-12-15 10:56:38 +0100 | |
| commit | 983aa587ee71a83d21b17de29d2a26763b18292e (patch) | |
| tree | eb1fca398101e0d562ff37f4ba3bbfd493fbe872 /app/layout/nav_menu.phtml | |
| parent | 478d3e6611e73974bd3b917c625bf0d099cbf123 (diff) | |
Add aside_feed to reader view (#2180)
* Add Nav menu to reader mode
At this point, it appears to be non-functional in reader mode.
* Add aside_feed toggle to reader view
* make init_column_categories work in reader view
* Make sidebar links redirect to proper view
* CSS to support toggleable sidebar in reader view
* remove unneeded !important
Diffstat (limited to 'app/layout/nav_menu.phtml')
| -rw-r--r-- | app/layout/nav_menu.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index 88f882db9..4d860a54c 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -1,7 +1,7 @@ <?php $actual_view = Minz_Request::actionName(); ?> <div class="nav_menu"> - <?php if ($actual_view === 'normal') { ?> + <?php if ($actual_view === 'normal' || $actual_view === 'reader' ) { ?> <a class="btn toggle_aside" href="#aside_feed"><?php echo _i('category'); ?></a> <?php } ?> |
