Fixed my own issue by adding a parent div around the ul

Issue: You can't have anchor tags in a <ul> (whoops).
Some of the vars need to be changed up to match and possibly a class
added to the surrounding <div>, but this code does work properly now.