عرض الكتل فقط في الصفحة الرئيسية

I have blocks in a tab “After Header”

Tell me please. How do I display them only on the home page?

If your homepage is a general topics list:

body:not(.navigation-topics) .do-categories {
  display: none;
}

Just look up the classes of the body tag on the pages you want to target.

Discourse also assigns classes to the body tag for the type of user that views the page (like .anon, .staff or .primary-group-<group-name>). These classes can be very helpful as well to show or hide layout elements.

إعجاب واحد (1)

@nolo Thank you very much! It helped

إعجاب واحد (1)