---json { "aliases": [ { "path": ":docs:layout:page:side_slot" } ], "canonical": ":side_slot", "description": "The sidebar is a slot that replaces the content of the sidebar.\n\n\n\n\n\n\n\n\n\nThe cache of the side slot is automatically deleted when a page in the same namespace is created, added or deleted.\nSee \n\n\n\n\n\nThe components are by default collapsed until the medium screen by setting thetoggle attributecollapsed expanded-mdside slotdokuwiki sidebaconfiguration", "name": "Sidebar Slot", "page_id": "xhixvt6md9ryujvs1r4l7", "title": "What is a side slot ? " } --- ====== Sidebar ====== ===== About ===== The ''sidebar slot'' is a [[docs:theme:slot:slot|slot]] that replaces the [[:docs:theme:element:page-side|sidebar element]]. {{:docs:theme:element:layout_element.svg?0x250|}} ===== Feature ===== ==== Cache ==== The cache of the side slot is automatically deleted when a page in the same namespace is created, added or deleted. See [[docs:cache:slot]] ==== Collapsed components by default on small screen ==== The components are by default collapsed until the medium screen by setting the [[:docs:animation:toggle|toggle attribute]] to ''collapsed expanded-md'' ===== Configuration ===== ==== sidebar ==== In Dokuwiki, the ''side slot'' is known as the sidebar. You can change the name of the side slot page with the [[doku>config:sidebar|dokuwiki sidebar]] [[docs:app:configuration|configuration]]