Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Reader-first multi-user instances #157
This allows instance admins to configure an instance to be more about the collective Reader than the individual blogs.
To enable, edit your configuration file to have
This shows the Blogs page instead of the Editor to logged in users on the `/` path when the new `simple_nav` config option is enabled. Ref T680
This shows About, Reader, Log out links on backend user pages when logged in. It also adds "New post" buttons on the backend pages and blogs.
This adds a new editor template that strips away most of the customization features in the default editor and includes only: - publishing - editing - viewing word count It also restricts publishing to a user's first collection, so it's optimized for instances that only allow users to have a single collection and don't use Drafts. Ref T680 T677
This adds a new config value: `chorus` that signifies an instance is more about the Reader view than individual blogs / writers. When enabled, user navigation will show on all pages, including About, Reader, and Privacy (ref T680). It also uses different collection templates that keep the instance-wide navigation at the top of the page, instead of the author's name -- again, branded more for the collective than the individual. Ref T681
This makes it possible to edit the title and introductory text at the top of the Reader view. Ref T684
This adds a Sign Up link to site navigation and shows the otherwise-landing page on /signup when in chorus mode. Ref T681
This provides easy navigation to the logged in user's posts, since there's no direct link to their blog otherwise. Ref T681
Also, refactor navigation bar template logic to be simpler and easier to understand. Ref T681
This shows Drafts in the SimpleNav menu, when both enabled. It also hides Drafts in the non-SimpleNav menu when disabled. Ref T679
All new config options are considered experimental, so we might not address all issues with different combinations of config values -- that'll be for a later iteration. For now, I'm mostly interested in verifying that this doesn't introduce any regressions, and everything runs / builds correctly for you.
Final list of changes in this PR:
robjloranger left a comment
Everything seems to check out OK. I tested various combinations of the new options.
I like the bare editor, it's really clean.
Disabling drafts works, the
Editing the reader content also works as expected.
Failed log in attempts do not alter the navigation.
Thanks for taking a look at everything, and glad you like it!
This is a great point. But I think for now, while we're still trying to get the interface right for the non-technical users choosing this layout, the redundancy is okay.
Oh the new simple NAV style post button on the pad. Where it changes from the arrow and metadata buttons to a clean button that just say's
Ah, yeah it's styled the same but it's actually unrelated to either of those settings -- it's just a static part of the