# カテゴリレイアウトのオーバーライド

**URL:** <https://meta.discourse.org/t/categories-layout-override/131098>\
**Category:** Theme component\
**Created:** [2019 年 10 月 15 日午後 6:43 UTC](https://meta.discourse.org/t/categories-layout-override/131098 "2019-10-15T18:43:03Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [2019 年 10 月 15 日午後 6:43 UTC](https://meta.discourse.org/t/categories-layout-override/131098/1 "2019-10-15T18:43:03Z")

</div>

通常、デスクトップのカテゴリーページレイアウトはグローバルサイト設定で設定されます。このコンポーネントをテーマに追加すると、その特定のテーマのカテゴリーページのレイアウトを上書きできるようになります。

 ![33%20AM](https://global.discourse-cdn.com/meta/original/3X/9/b/9bb9758f073a60c1e216b2e6d9b967d484e2e1b7.png)

### インストール

[リポジトリリンク](https://github.com/tshenry/discourse-categories-layout-override)  
`https://github.com/tshenry/discourse-categories-layout-override`

必要に応じて、このコンポーネントを複数回インストールすることも可能です。その場合は、各コンポーネントの複製に関連付けられたレイアウトを区別できるように、名前を変更することをお勧めします。

テーマコンポーネントとそのインストール方法に不慣れな場合は、[テーマインストールガイド](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682)をご覧ください。また、Discourse テーマについてさらに詳しく学びたい場合は、[こちらのガイド](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966)を参照してください。

---

_[View the full topic](https://meta.discourse.org/t/categories-layout-override/131098)._
