macro that pulls items from slot on landing page

Does anyone have a macro or might be able to help me write 1 that pulls content items from a slot for the current page from a landing page? So example I have a section of my site where I want all the pages to have the same links on the right hand side, but I want the user to have the ability to change those links as needed. So I’m thinking that a macro would do the trick. It would have to somehow find the landing page for that section, then look at its slot and display the items. I haven’t a clue on how to write this macro though and I’m trying to avoid adding something to the navon for this.


This may help.

Remember that incremental publish will not know which pages contain this slot and would need republishing if the links change