[%- for e in sidebar.toc -%]
  • [%- if e.url == page -%] [%= e.text | html %] [%- else -%] [% baselink(e.url, e.text) %] [%- end -%]
  • [%- end -%]