I recently discovered the "markup: smarty" event plugin in spartacus! It allows you to add smarty tags in your entries and sidebar html nuggets. I installed it and am using smarty tags within an HTML nugget sidebar plugin to selectively display links in the sidebar.
Some of the links are supposed to display sitewide while others are homepage only. Using smarty in the HTML nugget allows me to display them correctly: