extracted sidebar links to common template