This post demonstrates a page with a widget sidebar but no Table of Contents in the sidebar.
The theme’s logic first checks if the Table of Contents is configured to display in the left or right sidebar. If it is, the ToC takes precedence.
If the ToC is set to inline or is disabled (like on this page with toc: false), the theme will then check for the sidebar.position setting. If that is set to left or right, the widget area will be displayed.
This allows for flexible layouts where some pages might have a ToC for navigation, while others might feature widgets for discovery.