# Right Sidebar Blocks

**URL:** <https://meta.discourse.org/t/right-sidebar-blocks/231067>\
**Category:** Theme component\
**Tags:** official, desktop, right-sidebar-blocks\
**Created:** [June 25, 2022, 2:55am UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067 "2022-06-25T02:55:24Z")\
**Posts on this page:** 1\
**Showing post:** 130

<div class="post-metadata">

**Author:** ![tyler.lamparter](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyler.lamparter/32/485862_2.png) [@tyler.lamparter](https://meta.discourse.org/u/tyler.lamparter)\
**Post date:** [February 19, 2025, 8:23pm UTC](https://meta.discourse.org/t/right-sidebar-blocks/231067/130 "2025-02-19T20:23:03Z")

</div>

For us, just showing the right blocks on the latest or hot pages works well. What I did was fork the repo and change the default behavior when no route is given. To do this, just modify the javascripts/connectors/before-list-area/tc-right-sidebar.js file and change the last line to:

```javascript
// If no routes are specified, only show on the "Latest" or "Hot" pages
return ["discovery.latest", "discovery.hot"].includes(currentRouteName);

```

Since we are new to Discourse, I’m not sure how much maintenance doing this will require, but I guess we’ll see.

---

_[View the full topic](https://meta.discourse.org/t/right-sidebar-blocks/231067)._
