![]() |
Summary | Hides the sidebar from anon users. This is helpful if you have a mostly private site with a small amount of content publicly visible. |
![]() |
Repository | GitHub - nathan-nz/discourse-hide-sidebar-from-anon: Hides the sidebar from anonymous users |
![]() |
Install Guide | How to install a theme or theme component |
![]() |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
This simple theme component adds in CSS to give a cleaner experience for anon users by hiding the sidebar.
You might want to do this if (like us) you have a predominantly private site which has one or two categories set to everyone
(and thus exposed to the internet). It means that casual visitors see a very simple interface that is congruent with the small amount of content they see, while logged in users get the full experience.
This was put together from the code kindly provided by @dodesz here:
Roadmap
- Add ability to suppress some elements of the sidebar selectively for anon