このテーマコンポーネントは何を行いますか?
標準的なトピック一覧のナビゲーションを、固定されたサイドバーに配置します(ブラウザの幅が 768px より広い場合に限ります)。設定からサイドバーを右側に表示するオプションも用意されています。
このレイアウトについては以前 Meta で少し話題になりました(https://meta.discourse.org/t/proposing-a-left-aligned-slide-out-hamburger-menu/30287)。既存のナビゲーションを単にサイドバーに移した場合にどうなるか、実際に試してみたいと思いました。
このコンポーネントはレイアウトを大幅に変更するものであるため、他のテーマと即座に互換性があるとは限らない点にご注意ください。
テーマクリエイターでプレビューする
Github リポジトリ: https://github.com/awesomerobot/discourse-sidebar-nav.git
テーマコンポーネントをインストールする方法は?
「いいね!」 36
nexo
3
Could you “push” the sidebar further to the side?
It’s possible, but it’s currently designed to use the standard 1110px width that Discourse content exists within.
You could add CSS like this to make the content on pages with the sidebar wider
@media screen and (min-width: 1110px) {
.navigation-topics,
.categories-list,
.tags-page,
body[class*="category-"]:not(.archetype-regular):not(.archetype-banner) {
.wrap {
max-width: 1400px;
}
}
You could even go really crazy and set something like max-width: unset; and have a browser-wide topic list
「いいね!」 11
thaidb
(thaidb)
12
Hello, i wanna display this sidebar on every topic and every category
When in homepage, top menu unstill display normal
How can i do that?
Everytime we wanna search, we must comback to homepage and search them, so lost a long time! 
We should solve this problem!
Thank you!
「いいね!」 3
nexo
14
信じられないほど素晴らしいテーマコンポーネントです!
トピックリストのサイドバーは、タグリストにも表示されるべきだと考えます。例えば subfolder を表示した際にもサイドバーが一貫して表示され、より有用になるでしょう。これは非常に優れた機能になるはずです。
「いいね!」 1