# Как установить макет главной страницы как категорию

**URL:** https://meta.discourse.org/t/how-to-set-the-homepage-layout-as-a-category/173219
**Category:** Feature
**Created:** [14.Декабрь.2020 08:00:44 UTC](https://meta.discourse.org/t/how-to-set-the-homepage-layout-as-a-category/173219 "2020-12-14T08:00:44Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![空白1](https://avatars.discourse-cdn.com/v4/letter/%E7%A9%BA/22d042/32.png) [@空白1](https://meta.discourse.org/u/%E7%A9%BA%E7%99%BD1)
#### Post date: [14.Декабрь.2020 08:00:44 UTC](https://meta.discourse.org/t/how-to-set-the-homepage-layout-as-a-category/173219/1 "2020-12-14T08:00:44Z")

</div>

Как установить макет главной страницы как категорию? Мне нужно нажать на значок главной страницы, чтобы просмотреть категорию классификации главной страницы. Мне нужна помощь. Кто-нибудь знает? Большое спасибо!

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [14.Декабрь.2020 17:47:06 UTC](https://meta.discourse.org/t/how-to-set-the-homepage-layout-as-a-category/173219/2 "2020-12-14T17:47:06Z")

</div>

> [@空白1](#):
>
> Как установить макет главной страницы в виде категории

Самый простой способ — войти в свою учётную запись администратора на сайте, а затем снова запустить мастер настройки, перейдя по адресу `/wizard` (`https://forum.example.com/wizard`). Пройдите все шаги мастера, пока не дойдёте до шага «Главная страница»:

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/9/a94b6d02ee33346f686580054d9029b8f4e773e7.png)

Выберите в раскрывающемся меню вариант «Только категории», а затем нажмите кнопку «Готово», чтобы сохранить изменения.

---

<div class="post-metadata">

### Author: ![空白1](https://avatars.discourse-cdn.com/v4/letter/%E7%A9%BA/22d042/32.png) [@空白1](https://meta.discourse.org/u/%E7%A9%BA%E7%99%BD1)
#### Post date: [18.Декабрь.2020 08:54:06 UTC](https://meta.discourse.org/t/how-to-set-the-homepage-layout-as-a-category/173219/5 "2020-12-18T08:54:06Z")

</div>

Здравствуйте, я думаю, вы ещё не поняли мой вопрос. Есть ли в команде друзья, говорящие по-китайски? Я считаю, что так мы сможем общаться лучше.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [18.Декабрь.2020 19:56:23 UTC](https://meta.discourse.org/t/how-to-set-the-homepage-layout-as-a-category/173219/7 "2020-12-18T19:56:23Z")

</div>

Вы хотите, чтобы при переходе на корень домена пользователи видели страницу категории.

Кажется, раньше существовал компонент темы, который мог это делать, но я не помню, как он назывался.

Было бы неплохо сделать перенаправление `/top` расширяемым… 🤔

---

<div class="post-metadata">

### Author: ![空白1](https://avatars.discourse-cdn.com/v4/letter/%E7%A9%BA/22d042/32.png) [@空白1](https://meta.discourse.org/u/%E7%A9%BA%E7%99%BD1)
#### Post date: [19.Декабрь.2020 02:06:39 UTC](https://meta.discourse.org/t/how-to-set-the-homepage-layout-as-a-category/173219/8 "2020-12-19T02:06:39Z")

</div>

Да, вы полностью поняли мой вопрос, большое спасибо, но я не знаю, как это настроить. После того как я просмотрел все функции администратора, я не нашел решения для этой функции, что меня очень расстроило. Не знаете, как это настроить? Мне очень нужна помощь, спасибо!

---

<div class="post-metadata">

### Author: ![Zup](https://avatars.discourse-cdn.com/v4/letter/z/c37758/32.png) [@Zup](https://meta.discourse.org/u/Zup)
#### Post date: [18.Август.2021 02:55:12 UTC](https://meta.discourse.org/t/how-to-set-the-homepage-layout-as-a-category/173219/9 "2021-08-18T02:55:12Z")

</div>

Я тоже хочу сделать главную страницу категорией. Есть ли простое решение?

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [18.Август.2021 08:21:00 UTC](https://meta.discourse.org/t/how-to-set-the-homepage-layout-as-a-category/173219/10 "2021-08-18T08:21:00Z")

</div>

Существует плагин:

> [@Discourse-home-page](https://meta.discourse.org/t/discourse-home-page/139416):
>
> discourse-home-page This Discourse plugin allows to set any existing Discourse page (a topic, a category, etc.) as the home page of your Discourse instance. The repo is here: https://github.com/sylque/discourse-home-page This plugin is especially useful when used with [DiscPage](https://github.com/sylque/discpage). Settings discourse\_home\_page\_enabled : set to true to enable the plugin discourse\_home\_page\_path : path of the home page. For example /t/12 will set the home page to topic 12 and /c/5 will set the home page t…

В зависимости от вашего сценария использования вы также можете попробовать этот компонент:

> [@Showcased Categories](https://meta.discourse.org/t/showcased-categories-theme-component/173524):
>
> discourse2Summary Showcased Categories allows you to add two “Showcased” topic lists (built from your choice of two different categories) to the top of your forum’s home page.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/showcased-categories)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-showcased-categories](https://github.com/discourse/discourse-showcased-categories)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Features
