Adding elements to the left and right side of main-outlet in a theme

Why not just use: Custom Layouts Plugin - plugin - Discourse Meta?

Widget dev guide here: Widget Development - #2 - Layouts - Pavilion

2 Likes